Position measurement system and method using cone math calibration

ABSTRACT

An improved three-dimensional position detector and measurement system includes one or more transmitters that each transmit planar light beams and a strobe pulse and a receiver that responds to illumination from the beams and the strobe. The receiver in the system includes calibration logic for executing a quadratic mathematical algorithm to uniquely characterize said planar beams of each of said optical transmitters active in said measurement field. In one embodiment, the quadratic mathematical algorithm uses cones to represent the scan path of the planar beams.

REFERENCE TO RELATED APPLICATIONS

[0001] This application claims the benefit of commonly assigned U.S. Provisional Appln. No. 60/243,762, filed Oct. 30, 2000, the disclosure of which is incorporated herein by reference in its entirety. This application is also related to the following previously filed, commonly assigned U.S. utility applications: U.S. application Ser. No. 09/532,100 to Hedges et al., filed Mar. 21, 2000; U.S. application Ser. No. 09/532,099 to Hedges et al., filed Mar. 21, 2000; U.S. application Ser. No. 09/532,026 to Hedges et al., filed Mar. 21, 2000; and U.S. application Ser. No. 09/417,112 to Pratt et al., filed Mar. 21, 2000, all of which are incorporated herein by reference.

TECHNICAL FIELD

[0002] This invention relates in general to the field of position measurement in a three-dimensional workspace and more particularly to an improved system and method of providing position-related information.

BACKGROUND OF THE INVENTION

[0003] A variety of endeavors require or are greatly aided by the ability to make a precise determination of position within a three-dimensional workspace. For example, laying out a construction site according to a blueprint requires the identification at the actual construction site of a number of actual positions that correspond to features of the building on the blueprint.

[0004] Despite the many applications which require or are advanced by the ability to make precise determinations of position, it has historically been relatively difficult or expensive to precisely fix the position of any given point relative to an origin in an actual three-dimensional workspace.

[0005] A variety of techniques are known in the art to measure position, including land surveying techniques and global positioning satellite (“GPS”) system techniques. However, these techniques generally are not precise or require expensive devices which are complex and difficult to manufacture with high precision and accuracy. Additionally, many of these techniques required extensive training, and therefore cannot be practiced by those not trained in the art. Land surveying techniques, for example, fix position using a precision instrument known as a theodolite. The theodolite is both an expensive piece of equipment and requires substantial training to use. GPS equipment is relatively easy to use, but can be expensive and has limited accuracy on a small scale due to a certain amount of intentional error that is introduced by the military operators of GPS satellites.

[0006] Consequently, there has long been a need in the art for a method and device that can quickly and accurately fix positions in a three-dimensional workspace. There is a further need in the art for such a method and device which is easy to use and does not require extensive training.

SUMMARY OF THE INVENTION

[0007] Accordingly, the present invention is directed to an improved position measurement system, comprising at least one optical transmitter positioned within a position measurement field to generate a pair of planar light beams and a strobe pulse to illuminate said measurement field, at least one selectively positionable receiver within said position measurement field to generate position measurement data in response to said illumination from said planar beams and said strobe pulse, and calibration logic associated with said light detector receiver for executing a quadratic mathematical algorithm to uniquely characterize said planar beams of each of said optical transmitters active in said measurement field.

[0008] The invention is also directed to a position measurement system which includes an optical transmitter for generating a pair of spaced apart planar light beams and a periodic strobe pulse and a selectively positionable detector having at least two spaced apart optical detectors wherein said transmitter and detector are positioned in a measurement field, where the improvement comprises means to continuously monitor and calculate a pulse width of said beams, means to characterize said planar beams using a quadratic mathematical algorithm, wherein a range distance from said transmitter position to said detector position is estimated based on the pulse width and the quadratic mathematical algorithm, and means to display said estimated range to a user.

[0009] The invention is further directed to a receiver for an improved position measurement system having at least one optical transmitter positioned within a position measurement field that generates a pair of planar light beams and a strobe pulse to illuminate the position measurement field, the receiver comprising a data generator for generating position measurement data in response to illumination of the receiver from said planar beams and said strobe pulse and calibration logic associated with the receiver for executing a quadratic mathematical algorithm to uniquely characterize said planar beams of each of said optical transmitters active in said measurement field.

BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The above described novel aspects of applicants' improved apparatus and methods for position measurements can be better understood with reference to the attached drawings, in which:

[0011]FIG. 1 is an illustration of an improved optical transmitter according to the present invention, contrasted with a conventional rotating laser;

[0012]FIG. 2 is a schematic plan and sectional views illustrating the preferred embodiments of the optical transmitter apparatus of FIG. 1 according to the present invention;

[0013]FIG. 3 is a block diagram of the improved optical transmitter for a position location system and method according to the present invention;

[0014]FIG. 4 is an illustration of the rotating optical head and corresponding frame of reference according to the transmitter of the present invention;

[0015]FIG. 5 is a graphic representation of a first step of a quadratic mathematical algorithm, represented as a cone, according to the present invention;

[0016]FIG. 6 is a graphic representation of a cone surface rotated about the z-axis;

[0017]FIG. 7 is a graphic representation of the cone surface of FIG. 6 tilted about the x-axis;

[0018]FIG. 8 is a graphic representation of the cone surface further rotated about the z-axis;

[0019]FIG. 9A is a graphic representation of the plane of a fan beam intersecting a detector according to the present invention;

[0020]FIG. 9B is a graphic representation of the planes of two fan beams intersecting a detector according to the present invention;

[0021]FIG. 10 is a diagram illustrating a transmitter calibration method;

[0022]FIG. 11 is a Cartesian plot of an azimuth and elevation corresponding to a given vector;

[0023]FIG. 12 is an illustration of a three-transmitter position measurement system according to the present invention;

[0024]FIG. 13 is a linear time plot of a typical pulse sequence for pulses from an optical transmitter according to the present invention;

[0025]FIG. 14 is a time plot of the pulse sequence during a single rotation of an optical transmitter according to the present invention;

[0026]FIG. 15 is a graphical depiction of the pulses emitted during a single rotation of an optical transmitter according to the present invention;

[0027]FIG. 16 is a plan view of the improved transmitter according to the present invention illustrating the preferred positioning of the transmitter front and the zero-azimuth plane of the improved transmitter;

[0028]FIG. 17A is an illustration of a receiving instrument for a position measuring system according to the present invention;

[0029]FIG. 17B is an detailed illustration of the detector and tip assembly of the receiving instrument of FIG. 17A according to the present invention;

[0030]FIG. 17C is a block diagram of some of the important elements of the receiving instrument according to the present invention;

[0031]FIG. 18 shows the data flow of the position measurement receiver according to the present invention;

[0032]FIG. 19 shows the data flow of pulse detection and tracking according to the present invention;

[0033]FIG. 20 is a block diagram of the Position Calculation Engine (PCE) of the receiving instrument according to the present invention;

[0034]FIG. 21 is a block diagram of the field programmable gate array (FPGA) on the PCE of FIG. 20;

[0035]FIG. 22 is a flowchart for Software Object Detector::Entry which is executed by the receiving system according to the present invention;

[0036]FIG. 23A is a flowchart for Software Object PulseTrackManager::Update which is executed by the receiving system according to the present invention;

[0037]FIG. 23B is a continuation of the flowchart for Software Object PulseTrackManager::Update of FIG. 23 A;

[0038]FIG. 24 is a flowchart for Software Object PulseTrack::Synchronize which is executed by the receiving system according to the present invention;

[0039]FIG. 25 is a flowchart for Software Object PulseTrack::Track which is executed by the receiving system according to the present invention;

[0040]FIG. 26 is a flowchart for Software Object PulseTrack::Predict which is executed by the receiving system according to the present invention;

[0041]FIG. 27 is a flowchart for Software Object PulseTrack::Reconcile which is executed by the receiving system according to the present invention;

[0042]FIG. 28 is a flowchart for Software Object Transmitter::Reconcile which is executed by the receiving system according to the present invention;

[0043]FIG. 29 is a flowchart for Software Object FlyingHeadTransmiterORPGWithDifferentCycle::postSynchronize which is executed by the receiving system according to the present invention;

[0044]FIG. 30 is a flowchart for Software Object PulseTrack::isMultipath which is executed by the receiving system according to the present invention;

[0045]FIG. 31-1 is an illustration of a system according to the present invention which is being initialized using a Least Squares Resection method;

[0046]FIG. 31- 2 is a mathematical illustration of a step in the Least Squares Resection method of initializing a position measuring system according to the present invention;

[0047] FIGS. 32-1 and 32-2 are illustrations of a system according to the present invention which is being initialized using a Quick Calc Method which is part of the present invention;

[0048]FIG. 32-3 is a mathematical illustration of a step in the Quick Calc Method of initializing a position measuring system according to the present invention;

[0049]FIG. 32-4 is an illustration of a first transmitter identified in the Quick Calc Method.

[0050] FIGS. 32-5, 32-6, 32-7, 32-8, 32-9, 32-10, 32-11 and 32-12 are a math illustrations steps in the Quick Calc Method of initializing a position measuring system according to the present invention.

[0051]FIG. 33 is a block diagram illustrating a reference pulse stabilization loop that can be incorporated into the receiver of the present invention.

DETAILED DESCRIPTION OF THE EMBODIMENTS

[0052] The preferred embodiments of the present invention will now be described in detail with reference to the drawings. The components of the invention will be described generally in an overview, and then the details and operation of each component, as well as the manner in which they operate together, will be described in more detail after the overview.

[0053] 1. Transmitter Overview

[0054] The transmitter of the present invention includes a rotating head which sweeps one or more, preferably two, fanned laser beams continually through the three-dimensional workspace in which the receiver will be used to make position determinations based on the optical signals received from the transmitter. In this way, the signals from the transmitter cover the entire three-dimensional workspace. The present invention can be used in conjunction with the techniques and apparatus described in previous provisional patent application U.S. Ser. No. 60/104,115 to Pratt, also assigned to the present assignee, filed on Oct. 13, 1998, and International Patent Appln. No. PCT/US99/23615, filed Oct. 13, 1999 and published Apr. 21, 2000, both of which are incorporated herein by reference.

[0055] Generally, the measurement system uses fans of light and a strobe to create a measurement field. As a result, a two-dimensional measurement field (e.g., azimuth and elevation) can be created with a single transmitter, and a three-dimensional measurement field (e.g., an x-y-z Cartesian coordinate system) can be created with two transmitters tied together by a common reference frame.

[0056] A. Simplified Optical Path

[0057] The receiver preferably has a clear optical path to each transmitter in the system during position fixing operation. One of the key advantages of the transmitters according to the present invention is the simplification of the optical paths as exemplified by the lasers rotating with the head. Additionally, there is no window in the preferred transmitter. Therefore, there is no distortion introduced by the movement of the laser across a window. As described in detail below, the preferred embodiment utilizes a lens or other device which rotates with the laser. Thus, there is no distortion caused, for example, by variable window characteristics or angles of incidence or between a rotating lens and a fixed laser. The lack of a fixed window also simplifies manufacture, maintenance, and operation. The lack of a fixed window does make it preferable that a rotating seal be added to the transmitter.

[0058] B. Speed of Rotation and Storage of Parameters

[0059] The rotating head of the transmitter of the present invention, and the lasers within it, rotate through a full 360 degrees at a constant, although configurable, velocity. As will be explained below, each transmitter in the system needs to rotate at a different velocity. Therefore, each transmitter has a velocity that can be controlled by the user. Additionally, each transmitter has an easily quantifiable center of rotation which simplifies the algorithms for determining position and can simplify the set-up of the system. A separate synchronization signal, also preferably an optical signal, fires in the preferred embodiment once per revolution of the rotating head to assist the receiver in using the information received from the transmitter.

[0060] The velocity of the rotating head is configurable through the use of, in the preferred embodiment, a field programmable gate array (“FPGA”). Such configurable speed control allows the lasers, or other transmitters, to be differentiated by a receiver based on their unique and predetermined speeds of rotation. The use of multiple transmitters, as is appreciated by those of ordinary skill in the art, enhances position detection. Other advantages are obtained through the use of programmable electronics (FPGAs, flash memory, etc). Not only can the desired speed be set by changing the clock to the phase locked loop, but the overall gain of the control loop can be programmed to maximize performance at the velocity of interest.

[0061] C. Beam Type and Number

[0062] As described in the incorporated provisional and known in the art, position detection is also enhanced by using multiple beams and controlling the shape of those beams. These beams may be in the same rotating head assembly or in separate rotating head assemblies.

[0063] Two beams is the preferred number per rotating head assembly, however, more beams can be used. In particular, another embodiment uses four beams, two for short range and two for long range. The two short-range beams would have fan angles as large as possible. This will allow the user to operate near the transmitters, such as in a room. For long-range, the user would normally be operating away from the transmitters. Therefore, in that circumstance the vertical extent of the beams would be reduced to maximize the range of the system. The beams are, preferably, of type III laser. However, the rotation of the beams reduces their intensity to the fixed observer such that they can be classified as type I lasers. Safety features are integrated into the device to prevent the powering of the lasers when the rotating head is not in motion. In the preferred embodiment at least two interlocks are utilized. The first depends on the phase lock loop. The lasers are turned off until the system is rotating in phase-lock for at least 1024 phase-clock-cycles (approximately 32 revolutions). The second is monitoring the absolute speed using the once-per-rev index on the encoder. A tolerance is programmed into the system, currently 1-part-in-1000. When the velocity is outside that window the laser is disabled and not allowed to operate.

[0064] D. Beam Shape

[0065] The Transmitter allows flexibility in setting beam characteristics as needed for the specific application of the invention. One advantage is that the beam shape can be modified. The key is that the beam shape should correspond with correctly filling the desired three-dimensional workspace. For construction trades this might be a room 20 m×20 m×5 m in size. For construction machine control this might be a space 100 m×100 m×10 m in size. By modifying the beam shape, the energy can be properly directed.

[0066] The beam shape can also be controlled to differentiate beams. This can be done for multiple beams on a given transmitter or on different transmitters. For a given transmitter, the beam of the first and second beams must be differentiated. One technique uses their relative position with respect to the strobe in time. Another technique is to assure that the beams have different widths (“beam width” or “divergence angle”). Then, for instance, the first beam could be the “larger” of the two beams.

[0067] Fanning the beam can be done using a variety of methods known in the art, including without limitation, rod lenses, pal lenses, and cylindrical lenses. The use of rod lenses offers a relatively simple approach, whereas the use of pal lenses offers greater control over the energy distribution. The beam typically is emitted from the source as a conical beam, then a collimating lens shapes the beam into a column, then the fanning lens fans the column.

[0068] Rod lenses can be used to increase control on divergence. One of the major advantages of rod lenses for line generation is that they do not directly affect the quality of the beam in the measurement direction (beam direction). Therefore, they should not affect the divergence of the laser beam as set by the collimating optics.

[0069] PAL lenses can be used to increase control of the energy distribution in the fan direction. PAL type lenses can even create “uniform” distributions, where the energy is uniform in the direction of the fan plane. A uniform distribution is often inefficient, however, if potential receivers are not uniformly distributed along the entire fan plane. In some implementations a “focus” must be created before the lens. In that implementation, the use of the PAL technique could affect the beam in the measurement direction.

[0070] Gaussian beams can also be used to maximize the performance of the receiver. Gaussian beams are symmetric beams in that the energy distribution across the divergence angle or beam width is symmetric. When a simple threshold technique is used in the receiver, it important that the pulses be symmetric and be without shoulders or sidelobes. It is also helpful if the distribution's shape does not change with range. There are several pulse shapes that meet many of these criteria. However, the Gaussian distribution meets all of these criteria. With symmetric pulses that do not have shoulders or sidelobes, the receiver will be able to detect the center of the beam. Non-symmetric pulses, conversely, can cause the receiver to falsely identify the exact time when the beam center intersects the receiver.

[0071] E. Strobe

[0072] Additionally, the synchronization signal, mentioned above, is strobed and must be symmetric. Therefore, pulse shaping in the flash/strobe pulse generator for the synchronization signal is required. A square pulse with equal rise and fall times is the desired pulse shape. This pulse is preferably provided to a plurality of LEDs on the transmitter that are arranged to send out the synchronization pulse signal in a multitude of directions throughout the three-dimensional workspace. The light output of the LEDs is directly proportional to the current flowing through the LEDs. Because of the high currents involved in creating the strobe, a pulse-forming network must be used to assure that the current is a square wave as it passes through the diodes.

[0073] F. Communications and Control

[0074] A transmitter according to the present invention uses a serial port for communication and control. This allows calibration data and control parameters to easily be transferred. Recall that the transmitters are differentiated by their speeds. Therefore a technique must be put in place to simplify the speed changes. Additionally, a particular set of transmitter parameters must be made available to the receiver so that the receiver can calculate position based on the signals received from the transmitter. To create a simple, reliable, and unified technique the preferred embodiment uses serial communication between the transmitter and the receiver or test equipment. For test purposes, the serial connection is a well-known RS-232 connection. For use in the field, the connection is preferably through an infrared serial port. This allows the transmitter to be sealed and yet communicate with the outside world. To avoid interference with the measurement technique, this port is only active when the lasers are off.

[0075] G. VHDL

[0076] Many of the digital designs of a disclosed embodiment are implemented in field programmable gate arrays (FPGAs). These devices allow complex designs to be programmed into general-purpose hardware available from multiple vendors. The programs for these devices are written in a very special computer understandable language VHDL (VHSIC very ┌high-speed integrated circuit┐ Hardware Description Language). This is the same language that is used to design microprocessors and other semiconductor devices and is now standardized as IEEE 1076.

[0077] H. Providing Power to the Laser Head

[0078] As explained in the incorporated provisional application, the motor and the provision of power to the rotating head assembly are key components of a transmitter according to the preferred embodiment.

[0079] A rotary transformer is used. Several techniques are available for powering devices in a rotating head. The most common is the use of slip rings. Unfortunately, slip rings require physical contact between the “brushes” and the “slip-ring”. This creates dust in the system and can cause friction in the motor. The preferred technique is to use a rotating transformer. The transformer technique will provide minimal drag on the motor. Additionally, through the use of flat signal transformers as power transformers, the technique is very compact.

[0080] Fly-back control is used on the stator side of the transformer. To minimize the number of components in the rotating head, the voltage control is performed on the stator side of the transform. To optimize efficiency, a fly-back driving technique is utilized.

[0081] I. Stability and Precision of Rotation

[0082] The stability of the power transfer is also discussed in the incorporated provisional application. As those of ordinary skill in the art will recognize, a sine wave drive motor is a low-cost motor with good inherent stability intra-revolution and, as such, is useful in ensuring constant velocity rotation.

[0083] The bearing separation should be maximized to achieve optimal results. Any precession and wobble (wow and flutter in a turntable) will be a source of error in the system. It will lead directly to an error in the “z” direction. Using two precision bearings and maximizing the distance between the bearings can minimize these errors.

[0084] The strobe flashes of the synchronization signal are based on a once-per-revolution indicator tied to the motor shaft. There are many ways to create this shaft position index. The simplest and preferred technique is to use the index normally supplied with an optical encoder. This separate output of the encoder is directly equivalent to a shaft position index. An optical encoder disk is used to give rotation information. Other devices, including without limitation, tachometers and synchros could be used.

[0085] The optical encoder disk is typically made of glass and has a series of radial marks on it which are detected as the disk rotates. Additionally, the disk typically has a single “index” mark of a different radius which is used to detect complete rotations. The disk system produces a square wave with a frequency dictated by the speed with which the radial marks are passing. For example, if the disk is rotating at 1 revolution/second, a 1000 mark disk system would produce a 1000 Hz square wave (1000 radial marks/revolution *1 revolution/second=1000 Hz).

[0086] The speed of the motor is controlled through a feedback phase-locked loop (“PLL”) system. The disk system square wave is one input and a clock from the transmitter system is the other input. The transmitter clock has a selectable frequency. The output of the PLL is used to control the speed of the motor rotation such that the PLL remains locked at the selected frequency.

[0087] The index mark of the disk can also be used to initiate the strobe pulse once/revolution.

[0088] J. Low Manufacture Cost

[0089] As noted above, for the receiver to use the signals from the transmitter to accurately and precisely fix a position in the three-dimensional workspace, the receiver must have available a certain set of parameter characteristic of the transmitter. For example, as will be explained in detail below, the receiver must know the angles at which the laser beams are emitted from the transmitter head.

[0090] If these angles are pre-defined and the transmitter must then be manufactured with precision to match the specified parameters, it becomes extremely expensive to manufacture the transmitter. Under the principles of the present invention, the transmitter can be manufactured without such high precision and without requiring that the resulting transmitter conform to pre-specified parameters. Rather, the operating parameters of the transmitter required by the receiver are carefully measured after the transmitter is manufactured. This process, which will be referred to as transmitter calibration herein and described in more detail below, removes the expensive requirement of a precisely constructed transmitter. Consequently, the system of the present invention becomes much less expensive.

[0091] The operating parameters of the transmitter are preferably stored electronically in the each transmitter after that transmitter is calibrated. Consequently, each transmitter preferably incorporates a memory device in which the calibration parameters can be stored. These parameters can then be communicated to the receiver electronically through the serial port, optical or wired, of the transmitter described above. The receiver will have a corresponding serial port, optical or wired, for receiving data from the transmitter.

[0092] Preferably, these parameters are then stored in memory in a Position Calculation Engine (PCE) of the receiver and can be updated as required. For example, if a new transmitter is added to the system, then a new set of parameters needs to be loaded into the PCE from or for that transmitter. As an additional example, if the rotation speed of a transmitter is changed, then this information needs to be updated in the PCE.

[0093] 2. Receiving Instrument Overview

[0094] In the present system, the receiver or receiving instrument is a wand, an example of which is illustrated in FIG. 17. The wand provides a light-weight, mobile receiving instrument that can be carried anywhere within the three-dimensional workspace. A tip of the wand is used as the point for which position within the workspace is determined based on the signals received from the system transmitter. The position of the tip can be continuously calculated by the receiver and displayed for the user on a display device provided on the receiver. Consequently, no extensive training is required to operate the position fixing system of the present invention once the system is set up and functioning.

[0095] The wand preferably contains two receivers, which are light detectors if the transmitter is emitting optical signals as in the preferred embodiment. The Position Calculation Engine (“PCE”) of the receiving instrument is a processor that performs most of the computations of the receiving instrument. The PCE supports any required set-up procedure as well as the subsequent tracking, position calculation, and information display functions. The receiving instrument and PCE will be described in detail below.

[0096] The Smart Tip, shown in FIG. 17, can also perform computations, as indicated by the FPGA (field-programmable gate array) and the “i Button” in each Smart Tip. The Smart Tip can be present at either end of the wand in the present system and the signal “Tip Present” indicates whether there is a Smart Tip on each of the receiving instrument ends.

[0097] 3. Setup Overview

[0098] The setup procedure is described in detail below. The setup procedure places the transmitters in position and commences their operation. The setup procedure also allows the system to, among other things, define a useful coordinate system relative to the three-dimensional workspace and begin tracking the wand's location in that coordinate system.

[0099] The components and operation of the inventive system will now be described in greater detail.

[0100] 4. The Transmitter

[0101] A. Physical Description

[0102] With reference to FIG. 1, a transmitter (10) according to the present invention is a device physically similar to a rotating laser (11), which is also illustrated in FIG. 1 for comparison. However, a conventional rotating laser (11) has a single rotating spot beam (12) that is swept through a plane as the head of the laser (11) rotates. In contrast, the transmitter (10) of the present invention emits two rotating fan beams (14 & 16). These fan beams (14 & 16) sweep through the three-dimensional workspace within which the system of the present invention can fix the position of the receiving instrument.

[0103]FIG. 2 shows the preferred assembly of the transmitter (10), particularly the rotating head (7) of the transmitter (10), according to the present invention. As shown in FIG. 2, the rotating head (7) of the transmitter (10) includes two fan lasers (201 & 202). There are three important angles in the FIG.: θ_(off), φ₁, and φ₂. θ_(off) describes the angular separation between the two laser modules (201 & 202) in the rotating head (7) as viewed from above the transmitter (10). The lasers (201 & 202) are preferably disposed with optical axes at approximately 90° to each other. φ₁, and φ₂ describe the tilt of the fan plane of the lasers (201 & 202), respectively, with respect to a vertical plane. As shown in the lower portion of FIG. 2, these two angles are measured from vertical, and are nominally set to −30° for beam 1 and +30° for beam 2. We explain the sign convention for these angles below. As described above, the actual values for θ_(off), φ₁, and φ₂ are determined through a factory calibration process and need not conform exactly to the preferred values described herein.

[0104] As the transmitter head (10) rotates, it scans the measurement field more fully described hereafter with the two planes of light (14 & 16) emitted by the fan lasers (201 & 202). The receiver or receiving instrument (24, FIG. 12) is illuminated by each laser's fan plane (14 & 16) exactly once during a rotation of the head (7).

[0105] In addition to this scanning operation, the transmitter (10) also fires an optical strobe as a synchronization signal to the receiver (24). The strobe is fired from a plurality of LED's (6, FIG. 3) disposed to emit light at a variety of angles from the transmitter (10) so as to cover the three-dimensional workspace. The synchronization signal is emitted at a fixed point in the head's revolution so as to be emitted once per revolution of the transmitter head (7). The strobe illuminates the receiver (24) and is used to provide a zero reference for the rotation of the head (7). This scanning of the fan beams (14 & 16) and the strobed synchronization signal process provides the basis for the position measurements made by the receiver which will be described in more detail below.

[0106] Each transmitter (10) in the system rotates at a known and unique rate. This unique rotational rate allows the software in the receiver to differentiate between the transmitters surrounding the three-dimensional workspace. Knowing the speed of each transmitter and a zero point for the rotation of that transmitter given by the synchronization signal, the receiver knows when at what interval and time to expect to detect the first and second fan beams (14 & 16) emitted by any particular transmitter (10). Thus, beams detected at the expected interval and timing can be assigned as having come from a particular transmitter in the system based on the operating parameters of that transmitter known by the receiver, i.e., communicated to the receiver in the calibration processes mentioned above.

[0107] B. Low Cost Transmitter Detailed Description

[0108] An improved, low cost optical transmitter useful in a three dimensional measurement system in accordance with several novel aspects of applicants' invention is illustrated in the logic block diagram of FIG. 3. Throughout the specification and drawings, like numerals are used to designate like elements.

[0109] As shown in FIG. 3, a transmitter (10) of the present invention preferably includes the rotating head (7) and synchronization or reference signal emission assembly (6) as described above. A motor drive assembly (5) drives the rotating head (7).

[0110] As noted above, the speed of the rotating head is used by the receiver (24) to recognize the transmitter emitting a particular pair of fan beams (14 & 16). Therefore, a motor velocity control circuit (4) is provided to provide power to and regulate the velocity of the motor drive assembly (5).

[0111] As described above, in order to achieve a low cost optical transmitter (10) and method, the present invention preferably relies on a calibration procedure performed during the manufacture/assembly process to generate unique data for characterizing each optical transmitter (10) rather than employing a much higher cost precision assembly process. Specifically, angular calibration data is generated during the manufacture/assembly process that includes θ_(off), φ₁, and φ₂ (as defined above) for each transmitter (10). θ_(off) describes the angular separation between the two laser modules (201 & 202) in the rotating head (7) of each transmitter, and φ₁, and φ₂ describe the tilt of the fan plane of the lasers (201 & 202) in each transmitter (10), respectively, with respect to a vertical plane.

[0112] This angular calibration data (9) is preferably stored in calibration data memory (2). In addition, data defining the setting for the rotational velocity can be preloaded during the manufacturing process and loaded into calibration data memory (2) or variable motor control memory (4). If the rotational velocity is adjusted by the user, the new rotational velocity value will be recorded in the data memory (2) or the motor control memory (4).

[0113] A data processor (3) is also provided to control the motor velocity control unit (4) and the data calibration memory (2). The data processor (3) is preferably connected to a user interface (303), such as a keyboard, so that the calibration data can be entered for storage in the calibration memory (2) or so that the angular velocity of the motor drive assembly (5) can be changed and the new value stored in the appropriate memory (4 and/or 2).

[0114] Alternatively, during field setup, data (8) that sets the velocity of the motor drive assembly (5) may be input directly to variable motor control unit (4) using a cable port (302) or optical port (301) of the transmitter. That velocity calibration data must likewise be stored in memory (4 and/or 2). Likewise, calibration data (9) can be entered directly to the calibration memory (2) through a cable port (302) or optical port (301) of the transmitter.

[0115] As shown in FIG. 3, the processor (3), calibration memory (2) and velocity control logic/memory unit (4) each may be connected to the cable port (302) or optical port (301) of the transmitter so that data can be input or retrieved therefrom. Calibration data from the memories (2 & 4) can be output to the optical receiver (24; FIG. 12) in a measurement system of the present invention from the memory units (2 & 4) via the cable or optical output ports (302 & 301). As mentioned above, when a transmitter (10) is introduced into a measurement system according to the present invention, the calibration data for that transmitter (10) must be transferred to or loaded into the receiver (24; FIG. 12).

[0116] C. Mathematical Description

[0117] A mathematical model is now set forth that describes the physical scanning operation of the transmitter. We use this model in the next section to derive the position calculation algorithm.

[0118] Physically, the scanning operation of the transmitter (10) is accomplished with the two laser fan beams (14 & 16) described above with reference to FIGS. 1 and 2. Each of the fan beams (14 & 16) will be considered individually in this mathematical model. To build this model, we first define the transmitter's reference frame as shown in FIG. 4. Each transmitter (10) has its own local reference frame, and these reference frames are different from the user's reference frame as will be explained hereinafter. The reference frames of the various transmitters (10) in the system will be related to the user's reference frame as described below. As can be seen in FIG. 4, the head (7) preferably rotates in the positive direction about the z-axis according to the right hand rule.

[0119] Referring to FIG. 5, the scan of a fan beam can be described with a quadratic mathematical expression, such as a cone having its center aligned with x-axis. Just as a plane can be represented by a vector normal to its surface, the cone can be represented by a cone vector pointing from its vertex to center of the cone. In this example, the cone is centered on the x-axis. A part of the cone surface corresponds to the beam of light created by a light source, such as a laser. The beam can be a planar or fan beam or any other beam having similar characteristics. The cone central angle a is defined as an angle formed by cone vector and cone surface. The cone can therefore be represented by a cone vector and α, where cone vector r points to $\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}.$

[0120] Next, the cone is rotated by the angle α with respect to the z-axis so that the cone surface is tangential to x-axis. Note that the cone vector is pointing at an angle of α from x-axis, as shown in FIG. 6. The rotated cone can therefore be represented as follows: ${\begin{bmatrix} {\cos \quad \alpha} & {{- \sin}\quad \alpha} & 0 \\ {\sin \quad \alpha} & {\cos \quad \alpha} & 0 \\ 0 & 0 & 1 \end{bmatrix}\quad\begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}} = \begin{bmatrix} {\cos \quad \alpha} \\ {\sin \quad \alpha} \\ 0 \end{bmatrix}$

[0121] Next, the vertical cone surface is rotated about the x-axis by an angle φ to conduct a slant angle rotation, as shown in FIG. 7. This new cone surface represents a planar beam, such as a fan beam, as transmitted from the head of the transmitter. φ is the physical slant angle described in the previous section. A positive φ is a right-handed rotation about the x-axis, as shown in FIG. 2.6. The equation for describing the cone after slant angle rotation is: ${\begin{bmatrix} 1 & 0 & 0 \\ 0 & {{\cos \quad \varphi} -} & {\sin \quad \varphi} \\ 0 & {\sin \quad \varphi} & {\cos \quad \varphi} \end{bmatrix}\quad\begin{bmatrix} {\cos \quad \alpha} \\ {\sin \quad \alpha} \\ 0 \end{bmatrix}} = \begin{bmatrix} {\cos \quad \alpha} \\ {\cos \quad {\varphi sin}\quad \alpha} \\ {\sin \quad \varphi \quad \sin \quad \alpha} \end{bmatrix}$

[0122] Lastly, the new cone surface is rotated about the z-axis by an angle θ, as shown in FIG. 8. This angle is a function of time because it represents the location of the fan beam as the transmitter head rotates about the z-axis, i.e. θ(t) is the scan angle at time t. The resulting cone surface after z-axis rotation can be described as: ${\begin{bmatrix} {{\cos \quad {\theta (t)}} -} & {\sin \quad {\theta (t)}} & 0 \\ {\sin \quad {\theta (t)}} & {\cos \quad {\theta (t)}} & 0 \\ 0 & 0 & 1 \end{bmatrix}\quad\begin{bmatrix} {\cos \quad \alpha} \\ {\cos \quad {\varphi sin}\quad \alpha} \\ {\sin \quad \varphi \quad \sin \quad \alpha} \end{bmatrix}} = \begin{bmatrix} {{\cos \quad \alpha \quad \cos \quad {\theta (t)}} - {\cos \quad \varphi \quad \sin \quad \alpha \quad \sin \quad {\theta (t)}}} \\ {{\cos \quad \alpha \quad \sin \quad {\theta (t)}} + {\cos \quad \varphi \quad \sin \quad \alpha \quad \cos \quad {\theta (t)}}} \\ {\sin \quad \phi \quad \sin \quad \alpha} \end{bmatrix}$

[0123] In a position calculation algorithm, the vector expression above represents the laser fan beam at the point in time when it intersects the detector as shown in FIG. 9. and will be referred to as {circumflex over (v)}: $\hat{v} \equiv \begin{bmatrix} {{\cos \quad \alpha \quad \cos \quad {\theta (t)}} - {\cos \quad \varphi \quad \sin \quad \alpha \quad \sin \quad \theta \quad (t)}} \\ {{\cos \quad {\alpha sin}\quad {\theta (t)}} + {\cos \quad \varphi \quad \sin \quad \alpha \quad \cos \quad {\theta (t)}}} \\ {\sin \quad \varphi \quad \sin \quad \alpha} \end{bmatrix}$

[0124] For each rotation of the transmitter head, the receiver system calculates two vectors, {circumflex over (v)}₁ and {circumflex over (v)}₂, that describe the location of the two fan beams at their intersection point with the detector. Because φ is constant and determined during factory calibration, each {circumflex over (v)} vector depends solely on it corresponding scan angle θ, which in turn depends on timing measurements made by the receiver system. The way the two scan angles θ's are calculated by the receiver system is described later in the specification.

[0125] D. Transmitter Calibration

[0126] Transmitter calibration can be conducted various ways. U.S. Ser. No. 09/532,100 to Hedges et al., entitled “Low Cost Transmitter with Calibration Means for Use In Position Measurement Systems” describes one possible calibration process and the disclosure is incorporated by reference herein in its entirety. As noted above, the transmitter is characterized by five parameters for 3D position measurement.

[0127] More particularly, the tilt angle of beam 1 and beam 2 from the spin axis are denoted by φ1 and φ2, respectively. The cone central angle of beam 1 and beam 2 are denoted by φ1 and φ2, which specify the degree of curvature in each beam, and an azimuth angle difference of beam 1 and beam 2 is denoted by an offset value. The transmitter calibration generally involves extracting these five parameters.

[0128] The technique used for transmitter calibration is a resection commonly used in photogrammetry and surveying. In a resection technique, a fixed target position or orientation is computed based on the observation made at known positions. The accuracy of resection depends on the quality of observation and accuracy of known observation points.

[0129] In a transmitter calibration, the relative position of observation points are fixed but transmitter is turned on a precision turn table. At each turn table angle, an observation is made which corresponds to an observation at a known position in a conventional resection technique. Mounting the turn table and sensors on a rigid fixture ensures the relative position of sensors to the transmitter to the highest accuracy.

[0130] In one embodiment of a transmitter calibration fixture there are three vertical sensors 1 to 3 and one mid sensor, labelled sensor 4, as shown in FIG. 10. The turntable turn axis is considered the Z-axis and the horizontal line from Z-axis and the horizontal line from Z-axis to sensor 2 is considered the X-axis. The Y-axis is determined based on the right hand rule, given the X and Z axes. The three vertical sensors help extract φ1, φ2, α1, and α2.

[0131] Sensor 4 establishes the horizontal plane in conjunction with sensor 2 and helps define a θ offset. Beam 1 and beam 2 strike times are measured at each turntable angle. The accuracy of calibration entirely depends on the quality of the beam strike time measurements and the tolerance of sensor locations in the coordinates.

[0132] Like a normal vector that represents the plane, a cone vector represents a cone and is defined as a unit vector from the vertex to the center of the cone. If a cone is positioned with its centerline aligned to x-axis, its cone vector can be represented as: $v_{0} = \begin{bmatrix} 1 \\ 0 \\ 0 \end{bmatrix}$

[0133] The rotation matrices with respect to z-axis and x-axis, respectively, can be defined as: ${R_{z}(x)} = \begin{bmatrix} {\cos \quad x} & {{- \sin}\quad x} & 0 \\ {\sin \quad x} & {\cos \quad x} & 0 \\ 0 & 0 & 1 \end{bmatrix}$ ${R_{x}(x)} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & {\cos \quad x} & {{- \sin}\quad x} \\ 0 & {\sin \quad x} & {\cos \quad x} \end{bmatrix}$

[0134] The cone vector, which is rotated by α about z-axis, tilted by φ about the x-axis and then rotated by θ about the z-axis is represented as: ${{R_{z}\left( {\theta (t)} \right)}*{R_{z}(\alpha)}*v_{0}} = \begin{bmatrix} {{\cos \quad \alpha \quad \cos \quad {\theta (t)}} - {\cos \quad \varphi \quad \sin \quad \alpha \quad \sin \quad {\theta (t)}}} \\ {{\cos \quad \alpha \quad \sin \quad {\theta (t)}} + {\cos \quad \varphi \quad \sin \quad \alpha \quad \cos \quad {\theta (t)}}} \\ {\sin \quad \varphi \quad \sin \quad \alpha} \end{bmatrix}$

[0135] Then, the beam 1 cone vector is represented as:

v ₁ =R _(z)(θ₁(t))*R _(x)(φ₁)*R _(z)(α₁)*v₀

[0136] and the beam 2 cone vector is represented as:

v ₂ =R _(z)(θ₂(t)−θ_(offset))*R _(x)(φ₂)*R _(z)(α₂)*v ₀

[0137] The transmitter rotation matrix can be represented as:

R _(tx) =R _(z)(Az _(turn))*R _(x)(rx)*R _(y)(ry)*R _(z)(rz−Az _(turn))

[0138] where Rx, Ry and Rz are rotation angles with respect to the x, y and z-axis, respectively, and Az_(turn), is a turn table angle. Using this transmitter rotation matrix, the transmitter position can be represented as: $P_{tx} = {{R_{Z}\left( {Az}_{turn} \right)}*\begin{bmatrix} {px} \\ {py} \\ {pz} \end{bmatrix}}$

[0139] where Px, Py and Pz are transmitter positions at Az_(turn)=0.

[0140] The unit position vector from the transmitter to the detector position can be represented as $p = \frac{P_{Det} - P_{tx}}{{P_{Det} - P_{tx}}}$

[0141] A unit position vector p that is on the cone 1 surface and also on the cone 2 surface will satisfy the following equations:

(R _(tx) *v ₁)·p=cos α₁

(R _(x) *v ₂)·p=cos α₂

[0142] The two equations above serve as the calibration model. The measurements are θ values taken at each sensor and at each turntable azimuth angle. The transmitter position and orientation and transmitter parameters are adjusted so that the model fits the measurements in a least square error. When this iteration results in an acceptable error, the transmitter parameters φ₁, φ₂, α₁, and θ_(offset) are extracted.

[0143] The cone math calibration method described above has several advantages, including the fact that he detector position can be accurately surveyed with the latest angle measure systems before the calibration process. Further, initial transmitter alignment on the calibration fixture is not required. Also, regardless of the transmitter position and orientation on the turntable, the procedure described above can produce true transmitter parameters.

[0144] Note that although the above examples assume that the quadratic mathematical algorithm describes a circular cone shape, the algorithm can describe an elliptic, parabolic, or hyperbolic cone shape without departing from the scope of the invention.

[0145] 5. Position Calculation

[0146] There are two possible methods we can use to calculate the position of a light detector on the receiver (24) or receiving instrument of the present invention: the theodolite network method and the preferred non-theodolite transmitter method. In the receiving instrument of the present invention, the non-theodolite method is used because it is faster and more suited to the transmitter's unique design.

[0147] In one embodiment, the receiver calculates the intersection between the measured azimuth-elevation vectors from each transmitter to the desired detector. To establish these vectors, FIG. 9A, which shows a single laser fan plane, can be modified to include two fan planes as shown in FIG. 9B.

[0148] The beam 1 cone surface is represented by the cone vector v₁ and the beam 2 cone surface by cone vector v₂. Because the two cones represented by cone vectors v1 and v2 originate from the same vertex, the intersection of the two cone surfaces will be a line and its direction can be represented by a unit vector r. The unit vector r lies on both the beam 1 cone and beam 2 cone, satisfying the following equation.

v ₁ r=cos α₁

v ₂ r=cos α₂

[0149] To find r, r is solved given v₁, v₂, α₁ and α₂. More particularly, if there exists such a vector q₀

v ₁ q ₀=cos α₁

v ₂ q ₀=cos α₂

[0150] with $q_{0} = \begin{bmatrix} q_{x} \\ q_{y} \\ 0 \end{bmatrix}$

[0151] then q₀ is on the ray determined by two planes: ${v_{1}\begin{bmatrix} x \\ y \\ z \end{bmatrix}} = {\cos \quad \alpha}$ ${v_{2}\begin{bmatrix} x \\ y \\ z \end{bmatrix}} = {\cos \quad \alpha_{2}}$

[0152] which obtains

v ₁(p−q ₀)=0

v ₂(p−q ₀)=0

[0153] The direction of vector, p−q0 is given by the cross-product of r1 and r2. Therefore,

r−q ₀ =k(v ₁ xv ₂)

[0154] where k is a scalar constant such that

|r|=|q ₀ +k(v ₁ xv ₂)|=1

[0155] Thus r is solved by

r=q ₀ +k(v ₁ xv ₂)

[0156] While {right arrow over (r)} passes through the detector, there is no information about the length of {right arrow over (r)} from the vectors {circumflex over (v)}₁ and {circumflex over (v)}₂. Therefore, the system can only calculate the azimuth and elevation of vector {right arrow over (r)} relative to the transmitter's reference frame as shown below. ${az} = {\tan^{- 1}\left( \frac{y_{r}}{x_{r}} \right)}$ ${el} = {\tan^{- 1}\left( \frac{z_{r}}{\sqrt{x_{r}^{2} + y_{r}^{2}}} \right)}$

[0157] where r_(x)r_(y) and r_(z) are components of vector {right arrow over (r)}. Calculating the {right arrow over (r)} vectors for all transmitters in the workspace and the intersections of the vectors will be described in greater detail below in the Solution Calculation section.

[0158] 6. Calculating the Scan Angles Using Timing Measurements in a Non-Theodolite Process

[0159] As previously discussed, the two {circumflex over (v)} vectors from each transmitter (10) are based on the corresponding scan angles, θ₁(t) and θ₂(t), for the two laser fan beams (14 & 16) of the transmitter (10). We now discuss how the receiver system (24) calculates these two scan angles. Specifically, to calculate position for a single light detector on the receiver system (24), we need θ₁(t) and θ₂(t) for each transmitter (10) in the three-dimensional workspace (30).

[0160] A typical receiver system (24), to be described hereinafter with reference to FIG. 21, includes a physical tool or wand on which are a measurement tip and photodiode detector circuitry, a Position Calculation Engine (PCE), and a user interface. As the user moves the tool around in the workspace (30), the photodiode detector circuitry receives electrical pulses or strikes every time one of the planes of light or one of the optical synchronization strobes illuminates a light detector on the receiver (24). Using a high-speed timer, which preferably is built into the PCE, the system makes differential timing measurements between pulses. These timing measurements are then used calculate the scan angles.

[0161]FIG. 13 illustrates a typical pulse sequence for a single rotation of the transmitter head (7). The time between reference pulses, as indicated by T, is the period of one transmitter head revolution. In FIG. 13, the reference pulse is preferably created by the optical strobe assembly (6, FIG. 3). Between each pair of reference pulses, the receiver system (24) makes two differential timing measurements, Δt₁ and Δt₂, for each rotation of the transmitter head (7). These timing measurements correspond to the times at which the light detector of the receiver system (24) detects each of the two fan beams from a transmitter (10).

[0162]FIG. 14 relates these time differences to angular differences. We take the above plot in time and view it as a circle of 2π radians representing one revolution of the transmitter head (7). We define two angular measurements, α₁ and α₂, as the angle between the optical reference signal detection pulse and the fan beam 1 and fan beam 2 detection pulses, respectively. The reader should not confuse this circle with the actual transmitter head. This circle shows a plot in time and angle as viewed by the light detector on the receiver (24). Using the measured time intervals Δt₁ and Δt₂ and the fact that the transmitter completes one revolution in T seconds, we can calculate α₁ and α₂ by splitting the circle into percentages, as shown in FIG. 15.

[0163] Using these percentages and the fact that there are 2π radians in a single head revolution, we get the following equations for α₁ and α₂: $\alpha_{1} = {2{\pi \left( {1 - \frac{{\Delta \quad t_{1}} + {\Delta \quad t_{2}}}{T}} \right)}}$ $\alpha_{2} = {{2{\pi \left( {1 - \frac{{\Delta \quad t_{1}} + {\Delta \quad t_{2}}}{T} + \frac{\Delta \quad t_{1}}{T}} \right)}} = {2\pi \quad \left( {1 - \frac{\Delta \quad t_{2}}{T}} \right)}}$

[0164] Note that the reason the time intervals are measured from beam 1 rather than the reference pulse is to provide backward compatibility in the receiver system software for other versions of a transmitter, however this could be changed as desired.

[0165] For two important reasons, α₁ and α₂ are not exactly equivalent to the θ_(off) angles described in the transmitter model. First, in the model the two beams are not separated in azimuth. Rather, they scan together while overlapped as illustrated in FIG. 9B. In the actual transmitter, we separate the two beams azimuthally on the head to so that the receiver system can differentiate between them. We define this angular separation θ_(off) as described herein above. Therefore, we must subtract θ₀ from α₂ to line α₂ up with α₁. θ₀ is determined through factory calibration and is part of the calibration data stored in memory (2: FIG. 3).

[0166] Second, the α₁ and α₂ angles are measured relative to the reference pulse as shown in FIG. 14. If we relate this measurement to the transmitter model, then the front of the transmitter—its local x-axis—is the point in the head's rotation when the reference pulse fires. Therefore, the reference pulse also defines the zero-azimuth plane, since azimuth is measured from the transmitter's x-axis. If a single transmitter is to be used for azimuth and elevation calculations, it is sometimes desirable to set the point on the transmitter (10) where the detector's azimuth will be zero. This set point is established with a factory-calibrated constant called θ_(RP). As shown in FIG. 16, θ_(RP) is the angular separation between the desired front of the transmitter and the occurrence of the reference pulse. The sign of θ_(RP) is determined as illustrated. For most transmitters, θ_(RP) is set to zero because azimuth-elevation measurements relative to a single transmitter are not required. Therefore, we convert α₁ and α₂ to the desired the scan angles, θ₁ and θ₂, by using the following equations: θ₁ = α₁ + θ_(RP) $\theta_{1} = {{2\pi \quad \left( {1 - \frac{{\Delta \quad t_{1}} + {\Delta \quad t_{2}}}{T}} \right)} + \theta_{RP}}$ θ₂ = α₂ + θ_(RP) − θ_(Off) $\theta_{2} = {{2{\pi \left( {1 - \frac{\Delta \quad t_{2}}{T}} \right)}} + \theta_{RP} - \theta_{Off}}$

[0167] To summarize, these equations are used to calculate θ₁ and θ₂ values for each transmitter that illuminates a light detector on the receiving instrument (24). Therefore, if there are two transmitters (10) set up in the workspace (30), four θ angles will be calculated for each detector, and hence four {circumflex over (v)} vectors will be calculated. Three transmitters would result in six {circumflex over (v)} vectors, and so on. Using all of the calculated {circumflex over (v)} vectors, the receiver system (24) then performs the matrix solve described above for each light detector on the receiving instrument (24). If more than one light detector is present on the receiving instrument (24) and spaced from the other light detectors on the instrument (24), more accurate position information can be obtained by individually and separately calculating the position of each light detector on the instrument (24) and using those results to define the position of a particular point, e.g., the wand tip, of the receiving instrument.

[0168] 7. Receiving Instrument

[0169] In the spatial position measurement system shown in FIG. 12, the receiver system (24), which includes the data gathering apparatus, may comprise the portable wand-shaped receiving instrument (70) shown in FIG. 17A. Receiver (70) includes a rod or wand-shaped section (72) and a handle section (74). Rod section (72) terminates in a sensor point (76) which is utilized to touch or contact a position within the measurement field for which x-y-z data is to be generated.

[0170] Referring now to FIG. 17B as well, the rod section (72) includes two spherically shaped, spaced apart optical or light detectors (78 & 80) and an electronics section (82). The proper alignment and positioning of the sensor point (76) with the detectors (78 & 80) can be mathematically expressed as: ${\overset{\rightarrow}{P}}_{TIP} = {{d_{TIP}\frac{{\overset{\rightarrow}{P}}_{DET2} - {\overset{\rightarrow}{P}}_{DET1}}{{{\overset{\rightarrow}{P}}_{DET2} - {\overset{\rightarrow}{P}}_{DET1}}}} + {\overset{\rightarrow}{P}}_{DET2}}$

[0171] where:

[0172] {right arrow over (P)}_(TIP)=is the position of the tip 76

[0173] {right arrow over (P)}_(DET2)=is the position of the detector 80 closest to the wand handle 82

[0174] {right arrow over (P)}_(DET2)=is the position of the detector 78 closest to the tip 76

[0175] d_(TIP)=is the distance 72 from detector-2 78 to the tip 76.

[0176] Proper alignment and spacing of the detectors (78 & 80) relative to the sensor tip (76) along projection line (84) as shown in FIG. 17B is an important aspect of the present invention as it permits a user to take accurate measurements within a workspace or measurement field without having the receiving instrument (24), i.e., wand (70), positioned exactly perpendicular to a transmitter reference plane (See FIG. 12) or any particular user reference plane. In fact, utilizing a wand tip (76) designed as described, permits a user to position the receiver/detector tip (76) and receiver/detector rod section (72) without concern for any particular alignment.

[0177] Referring now to FIG. 17C, the hand grip section (74) of portable receiver (70) of FIG. 17A will now be described. Receiver handle section (74) includes a trigger switch (88) to activate the receiver (70) to initiate x-y-z data generation in response to illumination of detectors (78 & 80) by two or more transmitters (10). This x-y-z position data may be generated when electric signals emanating from detectors (78 & 80) activate or are inputted to an internal programmed computer (90), i.e. the Position Calculation Engine (PCE). The PCE (90) is schematically diagrammed for reference in FIGS. 20 and 21.

[0178] The x-y-z position data corresponding to the position of the sensor point tip (76) is calculated by the PCE (90) when the trigger (88) is activated. This position data may be displayed in a display panel (92) and/or transferred to another data processor, not shown, via output data port (94), as will be understood by those skilled in the data processing arts.

[0179] The output data port (94) is a serial port and may be an optical or wired port. Preferably, the port (94) is an optical port and can be used to receive the calibration data stored in each transmitter (10) via the optical serial port (301; FIG. 3) or wired serial port (302; FIG. 3) of each transmitter (10).

[0180] The hand grip portion (74) of the receiving instrument (70) also preferably includes the power supply (96) for the instrument (70). The power supply (96) preferably includes a rechargeable battery pack (96A) that feeds power to the instrument (70), including the PCE (90), communication port (94) and display device (92).

[0181] 8. Pulse Tracking

[0182] This section describes how the receiving instrument (24, 70) tracks its location as it is moved through the workspace (30). What is described explains, amongst other things, how the wand (24) uses the received laser beam strikes and strobe pulses from each transmitter (10) to determine its location.

[0183] D. Summary

[0184] The PCE (position calculation engine) (90), as shown schematically in FIGS. 20 and 21, contains firmware which translates incoming pulse times into physical position in space. This code is partitioned into several major blocks, or tasks. One of the tasks performs the job of categorizing and associating these pulse times upon their arrival. This process is known as tracking. The following flowcharts and text describe the operation of the tracker. There is a separate tracker or tracking function for each physical light detector on the receiving instrument (70).

[0185] E. Background

[0186] As described above, from the perspective of any one fixed location in the workspace, each transmitter in the system emits a periodic stream of light pulses. Within one period, three pulses are emitted from each transmitter. Each transmitter maintains a unique and stable period, or rate of emission. This allows the firmware in the PCE to discriminate between transmitters.

[0187] F. Tracking

[0188] The tracking algorithm maintains an individual pulse tracker for each emitter, e.g., laser light source, on each transmitter. When a pulse is received by the firmware, its timing characteristic is compared with each of the pulse trackers in the system in an attempt to associate it with a known pulse train. There are two distinct phases to the tracking process; synchronization and tracking. During the sync phase, an attempt is made at pairing unknown pulses, within the preset parameters of the existing pulse trackers. Once this is accomplished, the tracking mode is entered, whereby successive pulses are associated with their assigned pulse trackers. If a sequence of assignment failures occurs, tracking mode is exited, and re-synchronization is attempted.

[0189] Once synchronization is achieved, a post-sync check is performed to ensure that the pulses have been identified in the correct order. If an inconsistency is found, the pulse trackers are swapped. This helps to avoid unnecessary re-synchronization cycles.

[0190] Under some conditions, environmental interference such as noise and multipath reflections are experienced. A noise pulse is defined as a pulse which cannot be correlated with the period of an existing pulse tracker. Multipath occurs when reflected and/or unexpected pulses are detected at the period of a transmitter.

[0191]FIG. 18 provides a diagram of the data flow accomplished in the tracking function. The flow represented in FIG. 18 from the detector (78) to the PCE (90) will be duplicated for each light detector on the instrument (70). As shown in FIG. 18, the detector (e.g., 78) outputs signals indicative of detection of an optical pulse to a tracking system (100), which will be described in more detail below. The tracking system (100) outputs data to the PCE (90). The PCE (90) also has received the calibration data (9) from all the transmitters in the system.

[0192] Using the output of the tracking system (100) and the calibration data (9), the PCE (90) generates the x,y,z position (101) of the detector (78) in the transmitter's reference frame using the mathematical model described in detail above. This information is then transmitted using a data transfer protocol (102) over a communications link (103) to a user interface system (104).

[0193] The user interface system (104) may either be mounted on the receiving instrument (70) or may be a separate system in communication with the instrument (70) via communications link (103). Within the user interface system (104), the data (101) is received (105). The data (101) is then mapped from the transmitter reference frame in which it was created into the user's reference frame (106). A user interface (107) is also part of the system (104) and allows the user to define the user's reference frame and the consequent mapping function performed in block (106). The data is then mapped for display (107) on a display device (108). The display device (108) and display mapping block (107) are also under control of the user (109) through the user interface (107). Consequently, the user can have the mapping block (107) map the data into the most useful format. For example, the data may be mapped by block (107) into a numeric display of x, y and z values in the user reference frame for display on the display device (108). Alternatively, the data may be mapped by block (107) into a dot on a map displayed on the display (108) that indicates the current position of the detector (78). Any mapping of the data that is most useful to the user (109) can be effected by block (107) prior to display (108).

[0194]FIG. 19 illustrates in greater detail the tracking block (100) of FIG. 18. As shown in FIG. 19, each light detector in the system will output a signal (110) including square pulses indicative of the detecting of a light pulse from the transmitter having been received and detected by the detector. For each pulse, a Field Programmable Gate Array (FPGA) (111) will output a signal specifying a time (T₁) corresponding to a rising edge of the detected light pulse and a time (T₂) corresponding to a falling edge of the detected light pulse. These times (T₁ and T₂) are transmitted to the tracking software (112), typically executed by the PCE (90).

[0195] The tracking software, as will be described in more detail below, associates each pulse, defined by times (T₁ and T₂), with a particular transmitter (10). This is done as described above based on the time at which the pulse is received as matched against a time a which a pulse from a given transmitter is expected, knowing that transmitter's rotational velocity and consequent synchronization pulse duty cycle.

[0196] Once each detected pulse is associated with a transmitter, that pulse is also then associated with the calibration data (9) for that transmitter. Given the calibration data (9) for the transmitter (as described above) and the times (T₁ and T₂) for the two fanned light beams and the synchronization pulse for that transmitter, the PCE (90) can calculate the θ value, as shown in FIG. 7, for each the plane of light which swept the detector (e.g, 78). Consequently, the position of the detector (78) can be calculated using the mathematical model described above.

[0197] G. Flowchart Narrative

[0198] (1) Detector::Entry

[0199]FIG. 22 illustrates the main background loop for the system. It is an RTOS (Real Time Operating System) task, and once launched, continues to execute in an infinite loop. Referring to the flowchart (FIG. 22), the following sequence of events takes place:

[0200] 1) Check for pulse time events in the queue. These are passed in from the hardware FIFO in the FPGA, via an interrupt service routine. If there is another event in the queue, add it to the accumulated total time, and pass it through to the update routine. The update routine generates pulse intervals from the incoming pulse times. It also associates the pulses with a particular transmitter.

[0201] 2) Once the queue has been emptied, run through the list of transmitters to make sure that new intervals have been calculated for every transmitter. If they have not, note a timeout, and mark the associated transmitter as invisible. This will be displayed on the user interface. Otherwise, store the interval data for use in subsequent position calculations.

[0202] 3) Once all transmitters have been updated with interval information, check to see if theta calculations have been enabled. Thetas are the equivalent angles between the lasers and the reference pulse based upon pulse times and transmitter rotational rate. This is a basic calculation required for any subsequent calculations, and must be enabled for any output to be generated. If they are disabled, go back to looking for more pulse times.

[0203] 4) Check that all interval data is valid. If not, clear the theta and azimuth/elevation data and check for new pulse times.

[0204] 5) Perform the calculation to convert angles (thetas) into intervals.

[0205] 6) If azimuth and elevation calculations are enabled, generate these numbers.

[0206] 7) If position calculation is enabled, calculate the position (x,y,z) of this detector. Send a message to the measurement tool indicating that a position has been generated for this detector.

[0207] (2) PulseTrackManager::Update

[0208] The update function of the present invention is shown in flowchart form in FIGS. 23A and 23B. This routine receives pulse times from the Detector “Entry” routine of FIG. 22, and associates them with pulse trackers. An individual pulse tracker exists for each emitter (i.e., fanned laser light source) in the system, preferably two per transmitter and each reference pulse generator (one per transmitter). This accomplished, an attempt is made to reconcile a set of three pulses and associate them with a single transmitter. The sequence of events is as follows, until a pulse is identified:

[0209] 8) If currently in synchronization mode, call the synchronization function. Otherwise, call the track function.

[0210] 9) If noise was detected, set the noise flag.

[0211] 10) If the sync or track function was successful, check to see if a previous pulse is to be reconciled. If so, call the reconcile routine. This will perform pulse pair housekeeping.

[0212] 11) If this pulse has already been processed by another pulse tracker, a collision has occurred. Set the “collision” flag.

[0213] 12) Otherwise, save the pulse for later. It will be used to reconcile the next pulse from this emitter.

[0214] 13) If the sync or track function was not successful, a timeout may have occurred. Reconcile the pulse anyway so that the interval from the previous pulse gets recorded. Continue with the next tracker.

[0215] 14) Once all pulse trackers have been attempted, if the pulse has been identified, exit.

[0216] 15) Otherwise, go back to the top of the list of pulse trackers.

[0217] 16) For each pulse tracker, check to see if we have exceeded the maximum number of sync attempts. If so, reset this tracker, and go to the next one. If it has recently been sync'd go on to the next one.

[0218] 17) If multipath interference has not been detected, go on to the next pulse tracker. Otherwise, clear out the unknown pulse list, and insert this one into it.

[0219] (3) PulseTrack::Synchronize

[0220] The synchronizing function of the present invention is shown in flowchart form in FIG. 24. The synchronize routine attempts to associate an incoming pulse with an existing pulse tracker. Once a regular pattern of pulses has been established, the system leaves sync mode and enters track mode, whereby the “track” routine is invoked instead of “synchronize”. As long as “track” continues to successfully classify incoming pulses, the sync function is no longer called. Should the tracker encounter difficulty in recognizing pulses as coming from a particular transmitter within the system, sync mode is re-invoked, and the system attempts to re-synchronize the pulse stream.

[0221] Loss of synchronization may occur for number of reasons, including noise or reflections in the environment, or rapid movement of the receiving instrument (24,70).

[0222] As shown in FIG. 24:

[0223] 1) New pulse time of arrival is registered. If the unidentified pulse list is empty, there is nothing with which to pair it. Return as such.

[0224] 2) Has this pulse been paired yet (with another pulse tracker)? If so, is the interval from previous pulse within the sync window? If so, the previous pulse may have been noise. Resync. A sync window is defined as the time it takes for the transmitter head to complete approximately 0.2% of a rotation.

[0225] 3) If last pulse was not noise, is this one within the cycle time of this tracker? If not, return “already paired.” If so, try to find a match in the unknown pulse list. Note that if it has not been paired yet, we also end up looking in the unknown pulse list.

[0226] 4) If a match is found, see if the match has been already paired. If so, resynchronize. Otherwise, save as a match, and place this one in the unknown pulse list, so subsequent pulses can try to match this one.

[0227] (4) PulseTrack::Track

[0228] Once we are in tracking mode, each pulse gets passed to the pulse trackers. The tracking function is shown in flowchart form in FIG. 25. If any pulse is received within an expected range of when the next pulse should occur based on the known parameters of the transmitter, that pulse is accepted as the next pulse for that transmitter and is accepted by the associated tracker. Each fan beam and the synchronization pulse from each transmitter has its own tracker in the receiving system.

[0229] As shown in FIG. 25, tracking is performed as follows:

[0230] 5) Can we predict a pulse within a reasonable tracking window? If not, has it been too long since the last pulse was registered? If so, resynchronize and return “timeout”. If no timeout yet, just return “not identified”. A track window is defined as the time it takes for the transmitter head to complete approximately 0.2% of a rotation.

[0231] 6) If we can predict the pulse, check to see if noise is present (In this case, noise is defined as multiple pulses within the “track window”). If so, reset pointer to previous pulse, and return “noise”.

[0232] 7) If no noise is detected, store current pulse information, and return success.

[0233] (5) PulseTrack::Predict

[0234] The predicting routine of the present invention is shown in flowchart form in FIG. 26. This routine interacts with the “Track” routine described above by attempting to predict when the next pulse from any given pulse source should occur. It then tries to correlate this expected time with the next actual pulse time, within a pre-determined tracking window.

[0235] As shown in FIG. 26, the Predicting routine is performed as follows:

[0236] 8) Are there two pulses within one tracking window? If so, noise exists; return.

[0237] 9) Based on previous pulses, is this pulse within a reasonable tracking window of one or more most recent pulses (Several pulses may be missed before tracking fails; i.e.: as may be experienced during a temporary blockage)?

[0238] 10) If it is, return “success”. Otherwise, return “outside window”.

[0239] (6) PulseTrack::Reconcile

[0240] The Reconciliation function of the present invention occurs in two phases. The first part is pulse tracker reconciliation (shown in flowchart form in FIG. 27), which performs pulse pair housekeeping within a particular pulse tracker. The other is transmitter level reconciliation (shown in flowchart form in FIG. 28), which associates a set of three pulses from a single transmit period with a transmitter.

[0241] As shown in FIG. 27, pulse tracker reconciliation proceeds as follows:

[0242] 11) Calculate interval from previous pulse. Calculate the tracking cycle.

[0243] 12) Store in the saved pulse list.

[0244] 13) If in sync mode, and not paired yet, return.

[0245] 14) Otherwise, call “post-sync” to do cleanup. If it is unsuccessful, return as such.

[0246] 15) If it was successful, switch to “track” mode.

[0247] 16) If we were in “track” mode already, check to see if it was recently achieved. If so, increment the counter. This affects the way the “update” routine handles the data.

[0248] 17) Reconcile at the transmitter level.

[0249] (7) Transmitter::Reconcile

[0250] As shown in FIG. 28, transmitter reconciliation is performed as follows:

[0251] 18) If this is the reference pulse, check that there are two laser pulses in the list. If so, calculate a new cycle time and return. Otherwise, just return.

[0252] 19) If it is a laser pulse, make sure there are good pulses from all 3 pulse trackers for this transmitter.

[0253] 20) Using the pulse time data, calculate the intervals. Save the interval times for use by position calculation routines.

[0254] (8) Transmitter::PostSynchronize

[0255] The Post Synchronization routine of the present invention is used as a final check to make certain that three trackers have synchronized to a single transmitter in a consistent manner and is shown in flowchart form in FIG. 29.

[0256] 21) First, check that all three trackers have completed synchronization.

[0257] 22) Using the reference pulse period, check that the cycle time is reasonable. If not, then re-enter the synchronization mode and return an error.

[0258] 23) Ensure that the pulses have been identified in the correct order. If not, then swap them based upon time of arrival.

[0259] 24) Check that we're locked onto the correct set of pulses. If not, then re-enter the synchronization mode and return an error.

[0260] 25) Otherwise, return “success”.

[0261] (9) PulseTrack::isMultipath

[0262] The multipath function of the present invention checks to see if multipath interference exists; that is, whether some pulses reaching the detectors are reflections of the emitters rather than “line of sight” pulse strikes. This is accomplished by comparing the pulse currently being classified with previous pulse times and is shown in flowchart form in FIG. 30. As shown in FIG. 30, the multipath routine is performed as follows:

[0263] 26) Clear any previous multipath indications in the status word.

[0264] 27) If the unknown pulse list is empty, multipath is not detectable.

[0265] 28) Compare the pulse time of this pulse with the pulse times of prior entries in the unknown pulse list. If this pulse is a multiple of cycle times away from a previously received (but unidentified) pulse (within a sync window), then multipath interference may be present. Increment a counter.

[0266] 29) If the counter exceeds a preset limit, multipath exists. Set the multipath status bit, and re-enter synchronization mode.

[0267] 9. Least Squares Resection

[0268] The preceding material describes the operation of the position determining system of the present invention. However, before the system is filly operational, it is necessary to establish and define the user's frame of reference so that the position information generated by the system is actually meaningful to the user. There are at least two different means of setting up the system and defining an initial user's frame of reference: (1) Least Squares Resection and the (2) Quick Setup Method. The Quick Setup method is easier to perform and requires less time and effort than Least Squares Resection. Consequently, the Quick Setup method is preferred for purposes of the present invention and will be described in detail below. However, for completeness, the Least Squares Resection method of setting up the system of the present invention will also now be explained.

[0269] The Least Squares Resection (LSR) algorithm used with the present invention ties the transmitters in the workspace together into a common mathematical reference frame, from which position calculations are made. Whereas the Quick Setup algorithm creates a new reference frame for the transmitters, LSR ties the transmitters into a previously established reference frame defined by coordinates already in the workspace. FIGS. 12 and 31-1 show an example of a user reference frame in which the transmitters are arbitrarily placed.

[0270]FIG. 31-1 shows the same three transmitters (10-1, 10-2 & 10-3) shown in FIG. 12, which are arranged in an arbitrary coordinate system relative to each other as was described with regard to FIG. 12. Each transmitter in the workspace has an associated position vector {right arrow over (p)}_(tx) and rotation matrix R_(tx) that relate the transmitter's local reference frame to the user's reference frame. {right arrow over (p)}_(tx) and R_(tx) are used in the position calculation algorithm.

[0271] In order to perform an LSR with the position measurement system of the present invention, the user must level a receiving instrument (24) with a single light (or other signal) detector over at a minimum of three known coordinates in the workspace as shown in FIG. 31-1. The receiver system (24) makes scan angle measurements (measurements of θ₁ and θ₂) for the detector at each location.

[0272] After all of the measurements are taken, the algorithm calculates an approximate guess location and orientation for each transmitter (10) relative to the user reference frame. The algorithm then individually calculates the location and orientation of each transmitter (10) using Newton-Raphson iteration. The reader should note that this approach is different from the preferred Quick Setup algorithm to be described below. In the Quick Calc Setup method, all transmitter locations and orientations are solved for simultaneously.

[0273] A. Least Squares Resection Algorithm

[0274] The mathematical algorithm used in the LSR method of the present invention is described below.

[0275] (1) LSR Observations

[0276] As stated above, the first step in LSR is for the receiver system to take scan angle measurements with a leveled one-detector wand (24) at a minimum of three locations in the workspace for which the position is already known in the user's reference frame. For each receiver (24) location, the receiver system records the scan angles θ₁ and θ₂ from each transmitter (10) to the detector on the receiver (24). These two scan angles are then converted to their corresponding plane vectors {right arrow over (v)}₁ and {right arrow over (v)}₂. The measurement at each wand (24) location is called an LSR observation.

[0277] For each LSR observation, the user enters the known coordinate x_(tip), y_(tip), z_(tip)) and which the wand's tip (24) has been placed as shown in FIG. 31-1. Since the wand (24) is leveled over this point, the receiver system calculates the coordinate of the tool's detector by making the assumption that the z-axis in the user reference frame is parallel to gravity. Since, the detector (10) is mechanically located at a distance toolLength from the wand tip, we can write the detector location {right arrow over (c)}_(loc) as: $\begin{matrix} {{\overset{\rightarrow}{c}}_{loc} = \begin{bmatrix} x_{tip} \\ y_{tip} \\ {z_{tip} + {toolLength}} \end{bmatrix}} & \text{(3.1)} \end{matrix}$

[0278] For m different wand (24) locations and n different transmitters (10), we have the following data set. {right arrow over (c)}₁ {right arrow over (v)}_(1,1,1) {right arrow over (v)}_(1,1,2) . . . {right arrow over (v)}_(1,n,1) {right arrow over (v)}_(1,n,2) {right arrow over (c)}₂ {right arrow over (v)}_(2,1,1) {right arrow over (v)}_(2,1,1) . . . {right arrow over (v)}_(2,n,1) {right arrow over (v)}_(2,n,2) . . . . . .  . . . .   . . {right arrow over (c)}_(m) {right arrow over (v)}_(m,1,1) {right arrow over (v)}_(m,1,2) . . . {right arrow over (v)}_(m,n,1) {right arrow over (v)}_(m,n,2)

[0279] The subscript convention is {right arrow over (v)}_(loc,tx,beam). The first subscript indicates the wand location, i.e. this subscript counts observations. The second indicates the transmitter, and the third indicates beam 1 or beam 2 on the transmitter (10).

[0280] Since LSR handles each transmitter (10) separately, the data set for a single transmitter (10) is: {right arrow over (c)}₁ {right arrow over (v)}_(1,tx,1) {right arrow over (v)}_(1,tx,2) {right arrow over (c)}₂ {right arrow over (v)}_(2,tx,1) {right arrow over (v)}_(2,tx,2) . . . . . . {right arrow over (c)}_(m) {right arrow over (v)}_(m,tx,1) {right arrow over (v)}_(m,tx,2)

[0281] Furthermore, it is not required that each transmitter (10) use the same four observations in the LSR algorithm; we simply do this for convenience in the operation of the system. This illustrates another difference between LSR and the preferred Quick Setup method; LSR is a resection algorithm because is locates and orients a single transmitter (10) in a preexisting reference frame, just like a total station is aligned to a set of control points. Quick Setup, by contrast, locates and orients all transmitters relative to one another in an arbitrarily defined reference frame.

[0282] Because LSR deals with each transmitter individually, we will describe the LSR setup process for a single transmitter. Those of skill in the art will understand that this process is simply repeated for each transmitter (10) in the system.

[0283] (2) Estimate Generation

[0284] The LSR algorithm must solve for the locations and orientations of the other transmitters in the workspace. Therefore, the LSR solves for the following quantities: ${\overset{\rightarrow}{p}}_{tx} = \begin{bmatrix} x_{tx} \\ y_{tx} \\ z_{tx} \end{bmatrix}$

$\begin{matrix} {R_{tx} = \quad {{{Rx}\left( {rx}_{tx} \right)}{{Ry}\left( {ry}_{tx} \right)}{{Rz}\left( {rz}_{tx} \right)}}} \\ {= \quad {\begin{bmatrix} 1 & 0 & 0 \\ 0 & {\cos \quad \left( {rx}_{tx} \right)} & {{- \sin}\quad \left( {rx}_{tx} \right)} \\ 0 & {\sin \quad \left( {rx}_{tx} \right)} & {\cos \quad \left( {rx}_{tx} \right)} \end{bmatrix}\quad\begin{bmatrix} {\cos \quad \left( {ry}_{tx} \right)} & 0 & {\sin \left( {ry}_{tx} \right)} \\ 0 & 1 & 0 \\ {- {\sin \left( {ry}_{tx} \right)}} & 0 & {\cos \quad \left( {ry}_{tx} \right)} \end{bmatrix}}} \\ {\quad \begin{bmatrix} {\cos \quad \left( {rz}_{tx} \right)} & {{- \sin}\quad \left( {rz}_{tx} \right)} & 0 \\ {\sin \left( {rz}_{tx} \right)} & {\cos \quad \left( {rz}_{tx} \right)} & 0 \\ 0 & 0 & 1 \end{bmatrix}} \end{matrix}$

[0285] The order of rotation used is called z-y-x fixed angle. This rotation order is chosen because the z rotation component is typically the largest rotation for a transmitter; i.e. the transmitters are usually close to level. Any rotation order can be used, though, as long as R_(tx) is consistent between the LSR algorithm and the position calculation algorithm. We define a solution vector {right arrow over (x)} to include the 6 unknowns for the transmitter:

{right arrow over (x)}=[X _(tx) y _(tx) z _(tx) rx _(tx) ry _(tx) rz _(tx)]^(T)

[0286] Before performing a Newton-Raphson iteration, the LSR algorithm generates a guess for this {right arrow over (x)} vector based on the assumption that the transmitter (10) is leveled in the x-y plane. In other words, the {right arrow over (x)} vector generated by the guess routine is:

{right arrow over (x)}=[x _(tx) y _(tx) 0 0 0 rz _(tx)]^(T)

[0287] Using this simplification, a diagram for two LSR observations (Pt1 & Pt2) relative to the transmitter (Tx) can be drawn as shown in FIG. 31-2. This FIG. shows two triangles whose common base is parallel to the x-axis. Since the θ angles (scan angles) are measured relative to the front of the transmitter and rz_(tx) is the angle between the x-axis and the front of the transmitter when the transmitter is in the xy-plane, we have the following formulas for the two β angles:

β₁=θ_(1,tx,1) +rz _(tx)

β₂×θ_(2,tx,1) +rz _(tx)

[0288] The subscript notation on θ is the same as was used on the {right arrow over (v)} vector, specifically θ_(loc,tx,beam). When the transmitter is in the x-y plane, θ_(loc,tx,1)=θ_(loc,tx,2). Since this is our assumption, we simply pick the first θ angle to calculate β. An estimate for the rz_(tx) angle is determined iteratively, which we will describe later.

[0289] Using the law of sines, we make the following observation about the two triangles. $\frac{a_{1}}{\sin \quad \beta_{1}} = \frac{b_{1}}{\sin \left( {90 - \beta_{1}} \right)}$ $\frac{a_{2}}{\sin \quad \beta_{2}} = \frac{b_{2}}{\sin \left( {90 - \beta_{2}} \right)}$

[0290] Since sin(90−β)=cos(β), a_(loc)=y_(loc)−y_(tx), and b_(loc)=x_(loc)−x_(tx) and we can rewrite the equations as follows. $\frac{y_{1} - y_{tx}}{\sin \quad \beta_{1}} = \frac{x_{1} - x_{tx}}{\cos \quad \beta_{1}}$ $\frac{y_{2} - y_{tx}}{\sin \quad \beta_{2}} = \frac{x_{2} - x_{tx}}{\cos \quad \beta_{2}}$

[0291] Rearranging we get:

x _(tx) sin β₁ −y _(tx) cos β₁ =x ₁ sin β₁ −y ₁ cos β₁

x _(tx) sin β₂ −y _(tx) cos β₂ =x ₁ sin β₂ −y ₂ cos β₂

[0292] Or in matrix form: ${\begin{bmatrix} {\sin \quad \beta_{1}} & {{- \cos}\quad \beta_{1}} \\ {\sin \quad \beta_{2}} & {{- \cos}\quad \beta_{2}} \end{bmatrix}\quad\begin{bmatrix} x_{tx} \\ y_{tx} \end{bmatrix}} = \begin{bmatrix} {{x_{1}\sin \quad \beta_{1}} - {y_{1}\cos \quad \beta_{1}}} \\ {{x_{2}\sin \quad \beta_{2}} - {y_{2}\cos \quad \beta_{2}}} \end{bmatrix}$

[0293] This matrix can then be solved for the location estimate of the transmitter (x_(tx), y_(tx)). To determine if the solution is valid, the following two inequalities are checked. $\frac{x_{1} - x_{tx}}{\cos \quad \beta_{1}} \geq 0$ $\frac{x_{2} - x_{tx}}{\cos \quad \beta_{2}} \geq 0$

[0294] These inequalities must be true in order for the direction of β₁ and β₂ to match the direction shown in FIG. 31-2. We do not need to check the y values since they do not provide any additional information.

[0295] In actuality, we have three or more LSR observations. To accommodate this extra data, the guess routine takes groups of three adjacent observations and calculates a transmitter location estimate for each of the three observation combinations. The sum of the distances between these three transmitter location estimates is defined as the residual error, and the guess routine picks the set of observations with the lowest residual error. The final transmitter location (x_(tx),y_(tx)) is then the average of the three transmitter locations from this chosen observation set.

[0296] Finally, we describe how the rz_(tx) angle is calculated, since β₁ and β₂ are based on rz_(tx). Unfortunately, there is not enough information to determine rz_(tx) directly. Therefore, for each set of observation combinations, the guess algorithm tries different rz_(tx) values in increments of 10° starting with 0° and ending with 350°. Using the residual check at each step, the best rz_(tx) is chosen. Those rz_(tx) values that are mathematically impossible with fail the inequality checks given above.

[0297] (3) Solution Calculation

[0298] As previously stated, the Least Squares algorithm uses Newton-Raphson iteration to find the best solution for the given setup. Newton-Raphson uses a fill function that evaluates the function to be solved for a given solution vector {right arrow over (x)}:

f({right arrow over (x)})=0

[0299] where {right arrow over (x)} is defined above. LSR is essentially just a reverse position calculation, so the fill function is simply the plane equation described in the position calculation herein above described:

R _(tx) {right arrow over (v)}·({right arrow over (p)}{right arrow over (p)} _(tx))−0

[0300] When used for position calculation, the quantity for which a solution is found is the location of the detector {right arrow over (p)}. All other quantities are known. In LSR, the quantities for which a solution is required are the location of the transmitter {right arrow over (p)}_(tx) and the orientation of the transmitter R_(tx). The vector {right arrow over (p)} is simply the location of the LSR observation {right arrow over (c)}_(m), and the vector {right arrow over (v)} is the vector of the measured beam plane. Therefore, for m LSR observations, we can write the set of equations to be solved: ${\overset{\rightarrow}{F}\left( \overset{\rightarrow}{x} \right)} = {\begin{bmatrix} {R_{tx}{{\overset{\rightarrow}{v}}_{1,{tx},1} \cdot \left( {{\overset{\rightarrow}{c}}_{1} - {\overset{\rightarrow}{p}}_{tx}} \right)}} \\ {R_{tx}{{\overset{\rightarrow}{v}}_{1,{tx},2} \cdot \left( {{\overset{\rightarrow}{c}}_{1} - {\overset{\rightarrow}{p}}_{tx}} \right)}} \\ {R_{tx}{{\overset{\rightarrow}{v}}_{2,{tx},1} \cdot \left( {{\overset{\rightarrow}{c}}_{2} - {\overset{\rightarrow}{p}}_{tx}} \right)}} \\ {R_{tx}{{\overset{\rightarrow}{v}}_{2,{tx},2} \cdot \left( {{\overset{\rightarrow}{c}}_{2} - {\overset{\rightarrow}{p}}_{tx}} \right)}} \\ \vdots \\ {R_{tx}{{\overset{\rightarrow}{v}}_{m,{tx},1} \cdot \left( {{\overset{\rightarrow}{c}}_{m} - {\overset{\rightarrow}{p}}_{tx}} \right)}} \\ {R_{tx}{{\overset{\rightarrow}{v}}_{m,{tx},2} \cdot \left( {{\overset{\rightarrow}{c}}_{m} - {\overset{\rightarrow}{p}}_{tx}} \right)}} \end{bmatrix}\quad\begin{bmatrix} 0 \\ 0 \\ 0 \\ 0 \\ \vdots \\ 0 \\ 0 \end{bmatrix}}$

[0301] The Newton-Raphson iteration adjusts R_(tx) and {right arrow over (p)}_(tx) until {right arrow over (F)}({right arrow over (x)}) is approximately zero.

[0302] The guess algorithm and subsequent Newton-Raphson iteration are performed for all transmitters in the workspace.

[0303] 10. Quick Setup Method

[0304] Having fully described the LSR method of setting up the system of the present invention, we will now describe the preferred Quick Setup method. This procedure determines, amongst other things, the coordinate system desired by the user and the wand's location in that coordinate system.

[0305] A. Introduction to the Quick Setup Procedure

[0306] This procedure relates the transmitters in the workspace together into a common mathematical reference frame that is or can be readily mapped to the user's desired reference frame from which position calculations are made. FIG. 32-1 below shows an example of a user reference frame.

[0307] Each transmitter in the workspace has an associated position vector r {right arrow over (p)}_(tx) and rotation matrix R_(tx) that relate the transmitter's local reference frame to the user reference frame. {right arrow over (p)}_(tx) and R_(tx) are used in the position calculation algorithm.

[0308] In order to perform a Quick Setup with the position measurement system of the present invention, the user places the two-detector (78 & 80) receiving instrument (24) in a minimum of three different locations in the workspace as shown in FIG. 32-2. The receiver system makes scan angle measurements (θ measurements) for both detectors (78 & 80) on the tool at each location.

[0309] After all of the measurements are taken, the algorithm calculates vectors from transmitter (10) to detector (78 or 80) for each of the detector measurements. Then the algorithm calculates two rough estimates for the locations and orientations of the transmitters (10) relative to one another. Using these guesses as a starting point, the algorithm performs a Newton-Raphson iteration to precisely locate and orient the transmitters (10) in a common user reference frame.

[0310] B. Quick Setup Algorithm

[0311] (1) Observation Collection

[0312] As stated above, the first step in the Quick Setup algorithm is for the receiver system to take scan angle measurements of the two-detector receiving instrument (24) at a minimum of three locations in the workspace. For each receiving instrument location, the receiver system records the scan angles, θ₁ and θ₂, from each transmitter (10) to each detector (78 & 80) on the wand (24). These scan angles are then converted to their corresponding plane vectors {right arrow over (v)}₁ and {right arrow over (v)}₂. The plane vectors are then converted to a vector from transmitter (10) to detector (78 or 80) as shown in FIG. 1 yielding:

r=q 0+k(v 1+v 2)

[0313] The beam 1 cone surface is represented by the cone vector v₁ and beam 2 cone surface by cone vector v₂. Because the two cones originate at the same vertex, the intersection of the two cone surfaces is a line and its direction is represented by a unit vector r. The vector r is on both the beam 1 cone and beam 2 cone and therefore satisfies the following equations:

v ₁ r=cos α₁

v ₂ r=cos α ₂

[0314] To find r, r is solved given v₁, v₂, α₁ and ₂. If there exists a vector q₀

v ₁ q ₀=cos α₁

v ₂ q ₀=cos α₂

[0315] with $q_{0} = \begin{bmatrix} q_{x} \\ q_{y} \\ 0 \end{bmatrix}$

[0316] then, q₀ is on the ray determined by two planes: ${v_{1}\begin{bmatrix} x \\ y \\ z \end{bmatrix}} = {\cos \quad \alpha_{1}}$ ${v_{2}\begin{bmatrix} x \\ y \\ z \end{bmatrix}} = {\cos \quad \alpha_{2}}$

[0317] which obtains:

v ₁(p−q ₀)=0

v ₂(p−q ₀)=0

[0318] The direction of vector, p−q0 is given by cross-product of r1 and r2. Therefore:

r−q ₀ =k(v ₁ xv ₂)

[0319] where k is a scalar constant such that

|r|=|q ₀ =k 9 v ₁ xv ₂)|=1

[0320] Thus, r is solved by

r=q ₀ +k 9 v ₁ xv ₂ 0

[0321] The {right arrow over (r)} vector is relative to the transmitter's local reference frame as shown in the Figures. This vector passes through the detector (78 or 80) but contains no distance information. Since there are two detectors (78 & 80) on the receiving instrument (24), there are two vectors calculated for each wand location. Therefore, for m different wand locations and n different transmitters (10), we have the following data set. {right arrow over (r)}_(1,1,1) {right arrow over (r)}_(1,1,2) . . . {right arrow over (r)}_(1,n,1) {right arrow over (r)}_(1,n,2) {right arrow over (r)}_(2,1,1) {right arrow over (r)}_(2,1,2) . . . {right arrow over (r)}_(2,n,1) {right arrow over (r)}_(2,n,2) . . . . . . .  . . . . .   . . . {right arrow over (r)}_(m,1,1) {right arrow over (r)}_(m,1,2) . . . {right arrow over (r)}_(m,n,1) {right arrow over (r)}_(m,n,2)

[0322] The subscript convention is {right arrow over (r)}_(loc,tx,det). The first subscript indicates the wand location. The second indicates the transmitter, and the third indicates the detector on the wand (24) (Detector 1 (78) on the wand (24) is the detector closest to the handle.) We call each {right arrow over (r)} vector a “target observation”.

[0323] In addition to target observations, the receiver system also records the distance between the detectors (78 & 80) on the receiving instrument (24). This distance is used to provide scale to the iterative solution. The guess routines and Newton-Raphson iteration will use this distance for each location of the tool. We call each instance of this distance a scale bar observation. Therefore, for n different tool locations, we have n different scale bar observations. We may refer to the receiving instrument (24) as a scale bar in this document.

[0324] (2) Guess Generation

[0325] In the Quick Setup algorithm, the user reference frame is a somewhat arbitrary frame that simply estimates all transmitters in the workspace together. Once this frame is established, it is possible to make position calculation measurements relative to the frame's coordinate system. It is also possible to transform the coordinate system into another coordinate system, possibly a surveyed reference frame. The user reference frame is arbitrary because we can choose any origin and any orientation for the principal axes. The only requirement is that the various transmitters in the workspace are properly tied together.

[0326] As shown in FIG. 32-4, the user reference frame chosen by Quick Setup puts the first transmitter (10-1) at the origin with no rotation; i.e. the first transmitter's local reference frame is used as the user reference frame.

[0327] Because the location and orientation of the first transmitter are fixed (10-1), the algorithm must solve for the locations and orientations of the other transmitters (e.g., 10-2 & 10-3) in the workspace. Therefore, the algorithm solves for the following quantities: ${\overset{\rightarrow}{p}}_{tx} = \begin{bmatrix} x_{tx} \\ y_{tx} \\ z_{tx} \end{bmatrix}$ R_(tx) = R_(x)(rx_(tx))R_(y)(ry_(tx))R_(z)(rz_(tx)) $\begin{matrix} {R_{tx} = \quad {\begin{bmatrix} 1 & 0 & 0 \\ 0 & {\cos \quad \left( {rx}_{tx} \right)} & {- {\sin \left( {rx}_{tx} \right)}} \\ 0 & {\sin \quad \left( {rx}_{tx} \right)} & {\cos \quad \left( {rx}_{tx} \right)} \end{bmatrix}\quad\begin{bmatrix} {\cos \quad \left( {ry}_{tx} \right)} & 0 & {\sin \left( {ry}_{tx} \right)} \\ 0 & 1 & 0 \\ {- {\sin \left( {ry}_{tx} \right)}} & 0 & {\cos \left( {ry}_{tx} \right)} \end{bmatrix}}} \\ {\quad \begin{bmatrix} {\cos \quad \left( {rz}_{tx} \right)} & {- {\sin \left( {rz}_{tx} \right)}} & 0 \\ {\sin \left( {rz}_{tx} \right)} & {\cos \quad \left( {rz}_{tx} \right)} & 0 \\ 0 & 0 & 1 \end{bmatrix}} \end{matrix}$

[0328] where the first transmitter is given by: ${\overset{\rightarrow}{p}}_{1} = \begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}$ $R_{1} = \begin{bmatrix} 1 & 0 & 0 \\ 0 & 1 & 0 \\ 0 & 0 & 1 \end{bmatrix}$

[0329] The order of rotation used in the rotation matrix above is called a z-y-x fixed angle. This rotation order is chosen because the z rotation component is typically the largest rotation for a transmitter; i.e. the transmitters are usually close to level. Any rotation order can be used, though, as long as R_(tx) is consistent between the Quick Setup algorithm and the position calculation algorithm. We define a solution vector {right arrow over (x)} to include the unknowns for all n transmitters:

{right arrow over (x)}=[x ₂ y ₂ z ₂ rx ₂ ry ₂ rz ₂ . . . x _(n) y _(n) z _(n) rx _(n) ry _(n) rz _(n)]^(T)

[0330] The Quick Setup algorithm generates two different guesses for the {right arrow over (x)} vector above. Both guess routines are based on the following assumptions:

[0331] 1. The transmitters are leveled in the x-y plane and are at the same z-axis location.

[0332] 2. The scale bars are placed vertically (perpendicular to the x-y plane) at each location.

[0333] 3. The middle of each scale bar is located in the x-y plane.

[0334] These assumptions allow the setup problem to be simplified so that a solution for the position and orientation of the unknown transmitters can be calculated directly rather than through iteration. These guesses are then used as a starting point for the Newton-Raphson iteration. Using the assumptions above, the following information is calculated for each scale bar and each transmitter:

[0335] {right arrow over (t)}_(loc,tx) A vector in the direction of the center of the scale bar center. The vector's length is approximately the distance to the scale bar center (exactly if the assumptions above are met).

[0336] β_(loc,tx) The included angle between the two {right arrow over (r)} vectors from the given transmitter to the top and bottom detectors on the tool at the given tool location.

[0337] The first index on these quantities is the receiving instrument location, and the second is the transmitter number.

[0338] The first guess routine uses sets of three scale bar observations to guess the positions and orientations of the unknown transmitters. In this routine, only the {right arrow over (t)} vectors calculated above are required. This guess routine is based on the intersection of three spheres in space. We show these spheres from in a plan view in FIG. 32-5. We define a sphere for each scale bar observation. The center of each sphere is located using the corresponding {right arrow over (t)} vector from the first transmitter (10-1). Recall that the first transmitter (10-1) is the reference transmitter, and the final user reference frame is going to be based on this transmitter (10-1). The radius of each sphere is the distance from the unknown transmitter (10-?) to the scale bar observation, as given by the following:

d _(loc,tx) =∥{right arrow over (t)} _(loc,tx)∥

[0339] When the three assumptions above are met, the intersection of the three spheres will exactly locate the unknown transmitter (10-?) relative to the first transmitter (10-1), thereby giving us (x_(tx),y_(tx),z_(tx)). Since these assumptions are never exactly met, we actually get an approximate location for the unknown transmitter (10-?) (See FIG. 32-5).

[0340] The next step in this first guess routine is to calculate the orientation of the unknown transmitter (10-?) relative to the first transmitter (10-1). Since we have calculated a guess location for the unknown transmitter (x_(tx),y_(tx),z_(tx)) , we can also calculate vectors that locate the scale bars from the unknown transmitter as shown in FIG. 32. In this FIG., we define the {right arrow over (s)} vectors as:

{right arrow over (s)} _(loc,tx) ={right arrow over (t)} _(loc,1) −{right arrow over (p)} _(tx)

[0341] These vectors are similar to the {right arrow over (t)}_(loc,tx), vectors from the unknown transmitter (10-?), except that these vectors are relative to the first transmitter's reference frame. The {right arrow over (t)}_(loc,tx) vectors are relative to the unknown transmitter's reference frame. Therefore, we have three vectors from each reference frame that describe the same three points in space. We can then calculate the z-y-x fixed angle rotations, rx_(tx),ry_(tx),rz_(tx).

[0342] This three-sphere guess routine calculates guesses for adjacent sets of three scale bars and then averages the guess values for each unknown transmitter (10-?). In other words, the routine uses the scale bars at locations 1, 2, and 3 for the first guess, the scale bars at locations 2, 3, and 4 for the second guess, and so on. This averaging helps reduce the effects of errors in the calculations when the three assumptions above are not met.

[0343] The second guess routine is similar to the first, except that the second routine finds a two-dimensional guess using two intersecting circles rather than a three-dimensional guess using three intersecting spheres. The second routine calculates guesses for x_(tx),y_(tx), and rz_(tx) thereby only affecting position and orientation only in the x-y plane only. The z_(tx),rx_(tx), and ry_(tx) are set to zero for this guess.

[0344] The first step in this two-dimensional guess is to pick the two scale bar observations that have the largest included angle β_(loc,tx), between the two detectors on the scale bar. The two scale bars are chosen such that β_(loc,tx), is large for both the first transmitter (10-1) and the unknown transmitter (10-?). The purpose of this criterion is to select scale bar observations that represent large angular extent between the top and bottom scale bar detectors and thus better resolution on the scale bar measurement. Because β_(loc,tx), must be large for both transmitters (10-1 & 10-?), this selection criterion will tend to pick the scale bar locations that are equally spaced between the two transmitters (10-1 & 10-?).

[0345] Once the two scale bars are selected, we can create the construct shown in FIG. 32-7 below. In FIG. 32-7, we put primes on the {right arrow over (t)} vectors and the d distances to indicate that we have set the z component to zero, since the guess is calculated in the x-y plane only. Zeroing the z component helps reduce errors in both of these quantities when the scale bars are tilted. We calculate the intersection of the two circles to find the guess location for the unknown transmitter (10-?), (x_(tx),y_(tx),0.0).

[0346] As with the three-sphere guess routine, we can specify a vector in the first transmitter's reference frame that locates one of the selected scale bars relative to the second transmitter. This is illustrated in FIG. 32-8. Since we also have the {right arrow over (t)} vector that describes the scale bar relative to the unknown transmitter, we can determine an rz_(tx) angle using the following formula. ${\overset{\rightarrow}{s}}_{{loc},{tx}} = {{\overset{\rightarrow}{t}}_{{loc},1}^{\prime} - {\overset{\rightarrow}{p}}_{tx}}$ ${rz}_{tx} = {{\tan^{- 1}\left( \frac{y_{s}}{x_{s}} \right)} - {\tan^{- 1}\left( \frac{y_{t_{loc}^{1},1}}{x_{t_{loc}^{1},1}} \right)}}$

[0347] Using this formula, we calculate the rz_(tx) angle for both selected scale bars and average the two angles to calculate the guess value for the rotation about z.

[0348] The first guess routine is sufficient for most user setups. However, when the setup deviates significantly from the three assumptions previously listed, the second guess routine provides a good backup.

[0349] (3) Solution Calculation

[0350] As previously stated, the Quick Setup algorithm uses Newton-Raphson iteration to find the best solution for the given setup. The Newton-Raphson iteration method will be understood by those skilled in the art. Since we have two separate initial guess vectors, Quick Setup runs two separate iterations and then compares the solutions for both using the residual error from the fill functions described below. The solution with the lowest residual error is chosen.

[0351] Since we have two types of data collected, target observations and scale bar observations, we have two different fimctions to be solved. In each case, the solution vector for which we are trying to solve is given by {right arrow over (x)}. From this solution vector, we construct a position vector {right arrow over (p)}_(tx), and a rotation matrix R_(tx) for each unknown transmitter. In other words, for a three-transmitter setup, the solution vector is:

{right arrow over (x)}=[x ₂ y ₂ z ₂ rx ₂ ry ₂ rz ₂ x ₃ y ₃ z ₃ rx ₃ ry ₃ rz3]^(T)

[0352] with position vectors for the three transmitters given by: ${\overset{\rightarrow}{p}}_{1} = {{\begin{bmatrix} 0 \\ 0 \\ 0 \end{bmatrix}\quad {\overset{\rightarrow}{p}}_{2}} = {{\begin{bmatrix} x_{2} \\ y_{2} \\ z_{2} \end{bmatrix}\quad {\overset{\rightarrow}{p}}_{3}} = \begin{bmatrix} x_{3} \\ y_{3} \\ z_{3} \end{bmatrix}}}$

[0353] and rotation matrices for the three transmitters given by:

R ₁ =Rx(0)Ry(0)Rz(0)

R ₂ =Rx(rx ₂)Ry(ry ₂)Rz(rz ₂)

R ₃ =Rx(rx3)Ry(ry3)Rz(rz3)

[0354] In order to describe the two types of solve functions, we now introduce a shorthand notation for two {right arrow over (r)} vectors that go through the same detector det at the same tool location loc from two different transmitters a and b:

{right arrow over (r)} _(a) ≡{right arrow over (r)} _(loc,a,det)

{right arrow over (r)} _(b) ≡{right arrow over (r)} _(loc,b,det)

[0355] For target observations, we want to solve for the locations and orientations of the unknown transmitters by making the distance between each set of target rays zero. Therefore, we use the following formula that describes the distance between two target rays. ${d\quad i\quad s\quad t} = {\frac{R_{a}{\overset{\rightarrow}{r}}_{a} \times R_{b}{\overset{\rightarrow}{r}}_{b}}{{R_{a}{\overset{\rightarrow}{r}}_{a} \times R_{b}{\overset{\rightarrow}{r}}_{b}}} \cdot \left( {{\overset{\rightarrow}{p}}_{a} - {\overset{\rightarrow}{p}}_{b}} \right)}$

[0356] As can be seen from the FIG. 32-9, the target rays are multiplied by the corresponding transmitter rotation matrix so that the rays will be relative to the user reference frame. We use the distance equation for all target observations and all combinations of two transmitters. When the correct positions and orientations of the unknown transmitters are found, the calculated distance between rays will be approximately zero.

[0357] For scale bar observations, we want to ensure that each recorded scale bar length is equal to the calculated scale bar length for the given locations and orientations of the transmitters in the workspace. Since the solution process is iterative, the rays to the detector targets on each scale bar are not going to intersect until the correct solution vector is found. Therefore, to check the scale, we must first calculate the closest point of intersection for two detector target rays.

[0358] In FIG. 32-10, we again illustrate vectors R_(a){right arrow over (r)}_(a) and R_(b){right arrow over (r)}_(b), which do not intersect. The line segment that connects these two vectors represents the closest point between the vectors. This line segment is perpendicular to both vectors. Rather than calculate the length of this line segment as we did for the target observation function, we instead want to calculate the midpoint on this segment, which represents the closest point of intersection. We can calculate this midpoint by constructing three orthogonal basis vectors. $\overset{\rightarrow}{n} = {R_{a}{\overset{\rightarrow}{r}}_{a} \times R_{b}{\overset{\rightarrow}{r}}_{b}}$ $\overset{\rightarrow}{f} = {R_{a}{\overset{\rightarrow}{r}}_{a} \times \overset{\rightarrow}{n}}$ $\overset{\rightarrow}{g} = {R_{b}{\overset{\rightarrow}{r}}_{b} \times \overset{\rightarrow}{n}}$

[0359] We then define a reference frame B in which the midpoint lies using the three normalized basis vectors as rows of B: $B = \begin{bmatrix} {\hat{n}}^{T} \\ {\hat{f}}^{T} \\ {\hat{g}}^{T} \end{bmatrix}$

[0360] We noe determine the component of the midpoint along each of the basis vectors: $n = {\frac{{\hat{n} \cdot {\overset{\rightarrow}{p}}_{a}} + {\hat{n} \cdot {\overset{\rightarrow}{p}}_{b}}}{2}\quad}_{b}$ $f = {{{\hat{f} \cdot {\overset{\rightarrow}{p}}_{a}}g} = {\hat{g} \cdot {\overset{\rightarrow}{p}}_{b}}}$

[0361] Finally, we can calculate the coordinate of the midpoint in the user reference frame: ${\hat{p}}_{mid} = {B^{- 1}\begin{bmatrix} \begin{matrix} n \\ f \end{matrix} \\ g \end{bmatrix}}$

[0362] As Newton-Raphson iterates toward the correct positions and orientations of the unknown transmitters, this midpoint approaches the exant location of the detector. The midpoint is calculated for both detectors on the scale bar, and then the scale bar length is calculated:

len _(calc) =∥{circumflex over (p)} _(mid1) −{circumflex over (p)} _(mid2)∥

[0363] Finally, the difference between the calculated scale bar length and the actual length is determined. This difference will be approximately zero when the correct transmitter positions and orientations are found.

len _(error) =len _(calc) −len _(actual)

[0364] These two types of solution equations make up the fill functions for the Newton-Raphson iteration.

[0365] (4) Solution Check

[0366] The final step in the Quick Setup algorithm is a cleanup step. By definition, the {right arrow over (r)} vectors start at the transmitters (10) and go to the detector targets (78 & 80). This direction is important because it establishes the locations of the transmitters (10) relative to the observations. However, the two fill functions used in the Newton-Raphson iteration do not take into account the direction of the rays, only their distance apart. Therefore, there are two global minima in the solution space, one in which the {right arrow over (r)} vectors go from transmitter (10) to detector (78 & 80), and one in which they go the other direction. In some cases, especially when the three assumptions previously described are not met, the iteration can go to the wrong minimum.

[0367] A simple example of such a solution is given in FIG. 32-11. Note that the unknown transmitter's orientation is correct. Only the transmitter's location gets mirrored. We can see from FIG. 32-11 that the mirrored solution uses the correct rays. The rays just go in the wrong direction. We check for a mirrored solution by calculating actual detector location given the transmitter solution and then comparing that solution with the actual ray as shown in FIG. 32-12. As evident from this FIG., we can simply check the sign on the dot product between these two vectors. If {right arrow over (r)}·({right arrow over (p)}_(det)−{right arrow over (p)}_(tx)) is negative, then the solution is mirrored, and the coordinates of the unknown transmitter are negated. In this case, we simply flip the signs on the x_(tx),y_(tx), and z_(tx) coordinates for the mirrored transmitter. This check is performed on all unknown transmitters (10).

[0368] Referring to FIG. 33, the receiver can also incorporate a reference pulse stabilization loop to stabilize the reference pulses emitted by the transmitters. As explained above, the inventive system uses rotating planes or fans of light and a strobe to create the measurement field. The system then uses timing techniques to convert the optical signals into angular measurements. More particularly, the timing between the two beams determines the elevation and/or vertical angle.

[0369] From a practical standpoint, however, there are fundamental differences between the optical signals. The fan beams can be made using coherent laser techniques. The effective intensity of the beams will then decrease almost linearly with range. For example, if the intensity where 1 mWatt at 10 meters, the intensity would be ½ mWatt at 20 meters. The strobe has characteristics more like a flash bulb. Therefore, the intensity of its signal decreases quadratically with range (1/r²). For example, if the intensity were 1 mWatt at 10 meters, the intensity would be 1.4 mWatt at 20 meters. Therefore, in most cases at long range, the strobe signal is the weakest signal and becomes noisy as it approaches the noise floor of the system.

[0370] The effects of noise can be mitigated through averaging. One simple way would be to average the resulting azimuth and elevation measurements with a fixed filter length. This will present smoothed results to the user with the tradeoff being that the user has to wait for a smooth measurement. This will also put latency into the measurement; therefore, as the user moves the device, the measurement might not appear to track the movement. Other types of averaging can also be used, such as Kalman filters, with the cost being the need for additional computational capacity.

[0371] The inventive filter shown in FIG. 33 specifically addresses the unique needs of an optical measurement system. In the inventive system, the strobe signal is stationary in time and space even in the presence of receiver motion, whereas the fan beam signals are not stationary in either time or space during motion. Further, because the strobe is the major noise source, and because the strobe signal is present in all measurements conducted by the inventive system, noise reduction in the strobe would positively affect all system measurements. The stationary characteristics of the strobe also allows the strobe signal to averaged over long periods of time, enabling the strobe signal to act as a predictive signal even if a particular strobe measurement is missing. Even with significant averaging of the strobe signal, the user would experience no additional latency.

[0372] The stability measurements using the inventive system depends in part upon the stability of periodic reference pulses emitted by the transmitters. During testing, significant reference pulse jitter was observed on a revolution to revolution basis. However, it was also noted that these errors appeared random in nature. As these pulses are meant to be stationary in time, it appeared that significant stability gains could be obtained by removing this jitter with the reference pulse stabilization loop.

[0373] Referring to FIG. 33, the reference pulse stabilization loop includes two distinct components: the period filter, which produces a stable average reference period, and a feedback loop which predicts the next reference pulse time based upon the previous prediction, the calculated average period, and the loop error. Initial testing has indicated a decrease in jitter on the order of 5 times less than that of a system without the control loop. Note that since this jitter is a function of the rotational rate of the transmitter head, the jitter effect on linear measurements increases with distance from the transmitter. However, as there are other sources of jitter, reference pulse jitter becomes more dominant as distance from the transmitter increases. Thus, stability improvement is most noticeable at greater ranges.

[0374] The preceding description has been presented only to illustrate and describe the invention. It is not intended to be exhaustive or to limit the invention to any precise form disclosed. Many modifications and variations are possible in light of the above teaching.

[0375] In accordance with the principles of the present invention, the functionality disclosed herein can be implemented by hardware, software, and/or a combination of both. Software implementations can be written in any suitable language, including without limitation high-level programming languages such as C++, mid-level and low-level languages, assembly languages, and application-specific or device-specific languages. Such software can run on a general purpose computer such as a 486 or a Pentium, an application specific piece of hardware, or other suitable device. In addition to using discrete hardware components in a logic circuit, the required logic may also be performed by an application specific integrated circuit (“ASIC”), a programmed programmable logic device (“PLD”), or other device. The system will also include various hardware components which are well known in the art, such as connectors, cables, and the like. Moreover, at least part of this functionality may be embodied in computer readable media (also referred to as computer program products), such as magnetic, magnetic-optical, and optical media, used in programming an information-processing apparatus to perform in accordance with the invention. This functionality also may be embodied in computer readable media, or computer program products, such as a transmitted waveform to be used in transmitting the information or functionality.

[0376] As is clear from the present disclosure, the present invention can be applied to a variety of different fields, applications, industries, and technologies. The present invention can be used, without limitation, with any system in which information related to position must be determined, including without limitation movement, dimensional measurement, and position and orientation tracking. This includes without limitation many different processes and applications involved in myriad industries. Some of these industries and some of their associated processes or applications are: film making (digitizing models, virtual sets, camera tracking, automatic focusing), construction (trades, power tools, surveying, CAD, equipment control, construction measurement and layout), robotics (robot calibration, work cell configuration, mobile robot navigation, hazardous waste excavation), law enforcement (accident scene mapping, crime scene mapping, incident reconstruction), computers (3D input devices, video games), virtual reality (augmented reality, virtual arcades, 3D Internet experiences), manufacturing (factory automation, facility decommissioning, parts inspection, facility maintenance, manufacturing tooling and inspection, manufacturing measurement), medical (surgical navigation, smart operating rooms, medical instrumentation), and defense (ordinance modeling, simulation training, aircraft fit-checks, ship retrofit and repair, site remediation).

[0377] It should be understood that various alternatives to the embodiments of the invention described herein may be employed in practicing the invention. It is intended that the following claims define the scope of the invention and that the method and apparatus within the scope of these claims and their equivalents be covered thereby. 

What is claimed is:
 1. An improved position measurement system, comprising: at least one optical transmitter positioned within a position measurement field to generate a pair of planar light beams and a strobe pulse to illuminate said measurement field; at least one selectively positionable receiver within said position measurement field to generate position measurement data in response to said illumination from said planar beams and said strobe pulse; and calibration logic associated with said light detector receiver for executing a quadratic mathematical algorithm to uniquely characterize said planar beams of each of said optical transmitters active in said measurement field.
 2. The improved position measurement system of claim 1, wherein said quadratic mathematical algorithm uses a cone shape to describe a scan of each planar beam.
 3. The improved position measurement system of claim 2, wherein the cone shape is selected from a group consisting of an elliptic cone shape, a parabolic cone shape, or hyperbolic cone shape.
 4. The improved position measurement system of claim 2, wherein each cone shape has a cone surface corresponding to one planar beam.
 5. The improved position measurement system of claim 4, wherein the calibration logic executes the quadratic mathematical algorithm by: moving the cone surface to be tangential to a first axis; rotating the cone surface about the first axis by a first angle to generate a second cone surface; rotating the second cone surface about a second angle representing a scan angle of one of said planar beams at a given time; and calculating a vector expression corresponding to a point at which said one of said planar beams intersects the receiver.
 6. The improved position measurement system of claim 1, additionally including a plurality of base stations selectively located within said measurement field for monitoring calibration data uniquely associated with each optical transmitter active in said measurement field.
 7. The improved position measurement system of claim 6, wherein each base station additionally includes recalibration logic for monitoring and recalculating transmitter calibration data for each active transmitter within said system in response to detection of any change in one or more of a plurality of transmitter parameters which would induce errors in said transmitter calibration data.
 8. The improved position measurement system of claim 1, wherein said quadratic mathematical model is determined by a plurality of measurements of planar beam shapes for each optical transmitter and wherein the transmitter includes a lookup table to store parameters corresponding to the relative positions of the planar beams for each transmitter.
 9. The improved position measurement system of claim 1, wherein the receiver includes a reference pulse stabilization loop.
 10. The improved position measurement system of claim 9, wherein the reference pulse stabilization loop includes: a period filter that produces a stable average reference period; and a feedback loop that predicts a subsequent reference pulse time based on a previous predicted pulse time, the stable average reference period, and a loop error.
 11. In a position measurement system which includes an optical transmitter for generating a pair of spaced apart planar light beams and a periodic strobe pulse and a selectively positionable detector having at least two spaced apart optical detectors wherein said transmitter and detector are positioned in a measurement field, an improvement comprising: means to continuously monitor and calculate a pulse width of said beams; means to characterize said planar beams using a quadratic mathematical algorithm, wherein a range distance from said transmitter position to said detector position is estimated based on the pulse width and the quadratic mathematical algorithm; and means to display said estimated range to a user.
 12. The improved position measurement system of claim 11, additionally including means to permit said user to set an error bounds as a linear measurement.
 13. The improved position measurement system of claim 12, additionally including means to convert a selected error bound and estimated range data into a determined angular error.
 14. The improved position measurement system of claim 13, additionally including means to signal the user when measurements are either within or outside an established error bound.
 15. The improved position measurement system of claim 11, wherein said quadratic mathematical algorithm uses a cone shape to describe a scan of each planar beam.
 16. The improved position measurement system of claim 15, wherein the cone shape is selected from a group consisting of an elliptic cone shape, a parabolic cone shape, or hyperbolic cone shape.
 17. The improved position measurement system of claim 15, wherein each cone shape has a cone surface corresponding to one planar beam.
 18. The improved position measurement system of claim 17, wherein the calibration logic executes the quadratic mathematical algorithm by: moving the cone surface to be tangential to a first axis; rotating the cone surface about the first axis by a first angle to generate a second cone surface; rotating the second cone surface about a second angle representing a scan angle of one of said planar beams at a given time; and calculating a vector expression corresponding to a point at which said one of said planar beams intersects the detector.
 19. The improved position measurement system of claim 11, wherein the receiver includes a reference pulse stabilization loop.
 20. The improved position measurement system of claim 19, wherein the reference pulse stabilization loop includes: a period filter that produces a stable average reference period; and a feedback loop that predicts a subsequent reference pulse time based on a previous predicted pulse time, the stable average reference period, and a loop error.
 21. An improved position measurement method, comprising: positioning at least one optical transmitter within a position measurement field to generate a pair of planar laser beams and a strobe pulse to illuminate said measurement field; placing at least one selectively positionable light detector receiver within said position measurement field to generate position management data in response to said illumination from said planar beams and said strobe pulse; and executing a quadratic mathematical algorithm using calibration logic associated with said light detector receiver to uniquely characterize said planar beams of each of said optical transmitters active in said measurement field.
 22. The improved position measurement method of claim 21, wherein the quadratic mathematical algorithm in the executing act uses a cone shape to describe a scan of each planar beam, wherein the cone shape has a cone surface corresponding to one shaped beam.
 23. The improved position measurement method of claim 22, wherein the cone shape is selected from a group consisting of an elliptic cone shape, a parabolic cone shape, or hyperbolic cone shape.
 24. The improved position measurement method of claim 21, wherein executing the quadratic mathematical algorithm includes: moving the cone surface to be tangential to a first axis; rotating the cone surface about the first axis by a first angle to generate a second cone surface; rotating the second cone surface about a second angle representing a scan angle of one of said planar beams at a given time; and calculating a vector expression corresponding to a point at which said one of said planar beams intersects the light detector receiver.
 25. The improved position measurement method of claim 24, further comprising positioning a plurality of base stations selectively located within said measurement field for monitoring calibration data uniquely associated with each optical transmitter active in said measurement field.
 26. The improved position measurement method of claim 25, wherein each base station conducts monitoring and recalculating transmitter calibration data for each active transmitter within said system in response to detect any change in one or more of a plurality of transmitter parameters which would induce errors in said transmitter calibration data.
 27. The improved position measurement method of claim 21, wherein said quadratic mathematical algorithm is determined by a plurality of measurements of the shaped beams for each optical transmitter and wherein the method further includes the act of storing parameters corresponding to the relative positions of the shaped beams for each transmitter in a lookup table.
 28. The improved position measurement method of claim 21, further comprising: calculating a stable average reference period; and predicting a subsequent reference pulse time based on a previous stable average reference period, the stable average reference period from the calculating step, and a loop error.
 29. A receiver for an improved position measurement system having at least one optical transmitter positioned within a position measurement field that generates a pair of planar light beams and a strobe pulse to illuminate the position measurement field, the receiver comprising: a data generator for generating position measurement data in response to illumination of the receiver from said planar beams and said strobe pulse; and calibration logic associated with the receiver for executing a quadratic mathematical algorithm to uniquely characterize said planar beams of each of said optical transmitters active in said measurement field.
 30. The receiver of claim 29, wherein the receiver is selectively positionable within the position measurement field.
 31. The receiver of claim 29, wherein the quadratic mathematical algorithm in said calibration logic uses a cone shape to describe a scan of each planar beam.
 32. The receiver of claim 31, wherein the cone shape is selected from a group consisting of an elliptic cone shape, a parabolic cone shape, or hyperbolic cone shape.
 33. The receiver of claim 32, wherein each cone shape has a cone surface corresponding to one planar beam.
 34. The receiver of claim 33, wherein the calibration logic executes the quadratic mathematical algorithm by: moving the cone surface to be tangential to a first axis; rotating the cone surface about the first axis by a first angle to generate a second cone surface; rotating the second cone surface about a second angle representing a scan angle of one of said planar beams at a given time; and calculating a vector expression corresponding to a point at which said one of said planar beams intersects the receiver.
 35. The receiver of claim 29, wherein said quadratic mathematical model is determined by a plurality of measurements of planar beam shapes for each optical transmitter and wherein the transmitter includes a lookup table to store parameters corresponding to the relative positions of the planar beams for each transmitter.
 36. The receiver of claim 29, wherein the receiver includes a reference pulse stabilization loop.
 37. The receiver of claim 36, wherein the reference pulse stabilization loop includes: a period filter that produces a stable average reference period; and a feedback loop that predicts a subsequent reference pulse time based on a previous predicted pulse time, the stable average reference period, and a loop error. 